Skip to content

Commit d4ae2ad

Browse files
committed
Merge tag 'v0.65.1' into HEAD
v0.65.1
2 parents b2a9472 + 7d24305 commit d4ae2ad

File tree

142 files changed

+9033
-4853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+9033
-4853
lines changed

.github/workflows/bindgen.yml

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: bindgen
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
rustfmt-clippy:
@@ -48,11 +48,45 @@ jobs:
4848
profile: minimal
4949
# MSRV below is documented in Cargo.toml and README.md, please update those if you
5050
# change this.
51-
toolchain: 1.57.0
51+
toolchain: 1.60.0
5252
override: true
5353

5454
- name: Build with msrv
55-
run: rm Cargo.lock && cargo +1.57.0 build --lib
55+
run: rm Cargo.lock && cargo +1.60.0 build --lib
56+
57+
minimal:
58+
runs-on: ubuntu-latest
59+
env:
60+
RUSTFLAGS: -D warnings
61+
steps:
62+
- uses: actions/checkout@v3
63+
64+
- name: Install stable
65+
uses: actions-rs/toolchain@v1
66+
with:
67+
profile: minimal
68+
toolchain: stable
69+
override: true
70+
71+
- name: Check without default features
72+
run: cargo check -p bindgen --no-default-features --features=runtime
73+
74+
docs:
75+
runs-on: ubuntu-latest
76+
env:
77+
RUSTDOCFLAGS: -D warnings
78+
steps:
79+
- uses: actions/checkout@v3
80+
81+
- name: Install stable
82+
uses: actions-rs/toolchain@v1
83+
with:
84+
profile: minimal
85+
toolchain: stable
86+
override: true
87+
88+
- name: Generate documentation
89+
run: cargo doc --document-private-items
5690

5791
quickchecking:
5892
runs-on: ubuntu-latest
@@ -107,7 +141,6 @@ jobs:
107141
# `static` feature is not testable atm.
108142
feature_runtime: [0, 1]
109143
feature_extra_asserts: [0]
110-
feature_testing_only_docs: [0]
111144

112145
include:
113146
# Test with extra asserts + docs just with latest llvm versions to
@@ -117,7 +150,6 @@ jobs:
117150
release_build: 0
118151
no_default_features: 0
119152
feature_extra_asserts: 1
120-
feature_testing_only_docs: 1
121153

122154
# FIXME: Seems installing multiarch packages fails:
123155
#
@@ -132,15 +164,13 @@ jobs:
132164
# main_tests: 0
133165
# release_build: 0
134166
# feature_extra_asserts: 0
135-
# feature_testing_only_docs: 0
136167

137168
# Ensure stuff works on macos too
138169
- os: macos-latest
139170
llvm_version: "9.0"
140171
release_build: 0
141172
no_default_features: 0
142173
feature_extra_asserts: 0
143-
feature_testing_only_docs: 0
144174
steps:
145175
- uses: actions/checkout@v3
146176

@@ -166,7 +196,11 @@ jobs:
166196
toolchain: stable
167197
target: ${{matrix.target.rust}}
168198
override: true
169-
199+
- name: Install libtinfo
200+
if: matrix.os == 'ubuntu-latest'
201+
run: |
202+
sudo apt-get update
203+
sudo apt-get install libtinfo5
170204
- name: Run all the tests
171205
env:
172206
GITHUB_ACTIONS_OS: ${{matrix.os}}
@@ -177,7 +211,6 @@ jobs:
177211
BINDGEN_RELEASE_BUILD: ${{matrix.release_build}}
178212
BINDGEN_FEATURE_RUNTIME: ${{matrix.feature_runtime}}
179213
BINDGEN_FEATURE_EXTRA_ASSERTS: ${{matrix.feature_extra_asserts}}
180-
BINDGEN_FEATURE_TESTING_ONLY_DOCS: ${{matrix.feature_testing_only_docs}}
181214
BINDGEN_NO_DEFAULT_FEATURES: ${{matrix.no_default_features}}
182215
run: ./ci/test.sh
183216

.github/workflows/deploy-book.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy book
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
deploy-book:
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: sync master from main
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
sync-branches:
10+
runs-on: ubuntu-latest
11+
name: Keep master and main in sync until master is done
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Merge master <- main
16+
uses: devmasx/merge-branch@master
17+
with:
18+
type: now
19+
from_branch: main
20+
target_branch: master
21+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)