From 3a8a2de7a4c9ce362c237d801024bdbe815b2f07 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 12 Jul 2022 09:22:50 -0700 Subject: [PATCH 1/3] Try adding more installs --- .github/workflows/build-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 34213683910..04cec2f0245 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -195,6 +195,7 @@ jobs: run: | rustup install nightly-2022-04-05 rustup component add --toolchain nightly-2022-04-05 rust-src + rustup component add --toolchain stable rust-src rustup target add thumbv7m-none-eabi --toolchain nightly-2022-04-05 rustup target add thumbv8m.main-none-eabihf --toolchain nightly-2022-04-05 rustup target add x86_64-unknown-linux-gnu --toolchain nightly-2022-04-05 From 892ee3be520c910b175dfed2a20fa95c4e9725d1 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 12 Jul 2022 14:27:00 -0700 Subject: [PATCH 2/3] Revert "Try adding more installs" This reverts commit 3a8a2de7a4c9ce362c237d801024bdbe815b2f07. --- .github/workflows/build-test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 04cec2f0245..34213683910 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -195,7 +195,6 @@ jobs: run: | rustup install nightly-2022-04-05 rustup component add --toolchain nightly-2022-04-05 rust-src - rustup component add --toolchain stable rust-src rustup target add thumbv7m-none-eabi --toolchain nightly-2022-04-05 rustup target add thumbv8m.main-none-eabihf --toolchain nightly-2022-04-05 rustup target add x86_64-unknown-linux-gnu --toolchain nightly-2022-04-05 From ec833c6897e8fcd36feeb12a6c6bf051d4d806da Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 12 Jul 2022 14:27:49 -0700 Subject: [PATCH 3/3] unset --- tools/scripts/ffi.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/scripts/ffi.toml b/tools/scripts/ffi.toml index 52d3cd65dbd..ee8df8d0429 100644 --- a/tools/scripts/ffi.toml +++ b/tools/scripts/ffi.toml @@ -73,6 +73,8 @@ dependencies = [ "diplomat-gen-c" ] install_crate = { rustup_component_name = "rust-src" } script_runner = "@duckscript" script = ''' +unset RUSTC +unset RUSTDOC exit_on_error true cd ffi/diplomat/c/examples/fixeddecimal_tiny exec --fail-on-error make