Skip to content

Commit 99e7c08

Browse files
committed
chore: drop nightly-2022-12-01 fixed rust-lang/rust#105886
1 parent 0c4a670 commit 99e7c08

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

rust/pact_ffi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ set_source_files_properties(
273273
add_custom_command(
274274
OUTPUT ${CBINDGEN_HEADER_FILE}
275275
COMMAND
276-
rustup run nightly-2022-12-01
276+
rustup run nightly
277277
${CBINDGEN_EXECUTABLE}
278278
--config ${CBINDGEN_CONFIG_FILE}
279279
--crate ${CRATE_NAME}

rust/pact_ffi/ci-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ rustc --version
88
cargo install --force cbindgen
99
rm -rf ./include
1010

11-
rustup toolchain install nightly-2022-12-01
11+
rustup toolchain install nightly
1212

1313
echo -------------------------------------
1414
echo - Build library with CMake
@@ -22,11 +22,11 @@ cd ..
2222
echo -------------------------------------
2323
echo - Generate header with cbindgen
2424
echo -------------------------------------
25-
rustup run nightly-2022-12-01 cbindgen \
25+
rustup run nightly cbindgen \
2626
--config cbindgen.toml \
2727
--crate pact_ffi \
2828
--output include/pact.h
29-
rustup run nightly-2022-12-01 cbindgen \
29+
rustup run nightly cbindgen \
3030
--config cbindgen-c++.toml \
3131
--crate pact_ffi \
3232
--output include/pact-c++.h

rust/pact_ffi/release-linux.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ gzip -c ../target/release/libpact_ffi.a > ../target/artifacts/libpact_ffi-linux-
1717
openssl dgst -sha256 -r ../target/artifacts/libpact_ffi-linux-x86_64.a.gz > ../target/artifacts/libpact_ffi-linux-x86_64.a.gz.sha256
1818

1919
echo -- Generate the header files --
20-
rustup toolchain install nightly-2022-12-01
21-
rustup component add rustfmt --toolchain nightly-2022-12-01
22-
rustup run nightly-2022-12-01 cbindgen \
20+
rustup toolchain install nightly
21+
rustup component add rustfmt --toolchain nightly
22+
rustup run nightly cbindgen \
2323
--config cbindgen.toml \
2424
--crate pact_ffi \
2525
--output include/pact.h
26-
rustup run nightly-2022-12-01 cbindgen \
26+
rustup run nightly cbindgen \
2727
--config cbindgen-c++.toml \
2828
--crate pact_ffi \
2929
--output include/pact-cpp.h

0 commit comments

Comments
 (0)