File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ set_source_files_properties(
273
273
add_custom_command (
274
274
OUTPUT ${CBINDGEN_HEADER_FILE}
275
275
COMMAND
276
- rustup run nightly-2022-12-01
276
+ rustup run nightly
277
277
${CBINDGEN_EXECUTABLE}
278
278
--config ${CBINDGEN_CONFIG_FILE}
279
279
--crate ${CRATE_NAME}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ rustc --version
8
8
cargo install --force cbindgen
9
9
rm -rf ./include
10
10
11
- rustup toolchain install nightly-2022-12-01
11
+ rustup toolchain install nightly
12
12
13
13
echo -------------------------------------
14
14
echo - Build library with CMake
@@ -22,11 +22,11 @@ cd ..
22
22
echo -------------------------------------
23
23
echo - Generate header with cbindgen
24
24
echo -------------------------------------
25
- rustup run nightly-2022-12-01 cbindgen \
25
+ rustup run nightly cbindgen \
26
26
--config cbindgen.toml \
27
27
--crate pact_ffi \
28
28
--output include/pact.h
29
- rustup run nightly-2022-12-01 cbindgen \
29
+ rustup run nightly cbindgen \
30
30
--config cbindgen-c++.toml \
31
31
--crate pact_ffi \
32
32
--output include/pact-c++.h
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ gzip -c ../target/release/libpact_ffi.a > ../target/artifacts/libpact_ffi-linux-
17
17
openssl dgst -sha256 -r ../target/artifacts/libpact_ffi-linux-x86_64.a.gz > ../target/artifacts/libpact_ffi-linux-x86_64.a.gz.sha256
18
18
19
19
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 \
23
23
--config cbindgen.toml \
24
24
--crate pact_ffi \
25
25
--output include/pact.h
26
- rustup run nightly-2022-12-01 cbindgen \
26
+ rustup run nightly cbindgen \
27
27
--config cbindgen-c++.toml \
28
28
--crate pact_ffi \
29
29
--output include/pact-cpp.h
You can’t perform that action at this time.
0 commit comments