From d18bb041a07866ac866837c9d370d81b20d7126a Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 7 Jan 2022 12:32:05 +0800 Subject: [PATCH 1/2] Delete benchmark.yml --- .github/workflows/benchmark.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/benchmark.yml diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml deleted file mode 100644 index df310705..00000000 --- a/.github/workflows/benchmark.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Benchmark -on: - push: - branches: - - master - -jobs: - benchmark: - name: Run Rust benchmark - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: rustup toolchain update nightly && rustup default nightly - - name: Run benchmark - run: cargo +nightly bench | tee output.txt - - name: Store benchmark result - uses: rhysd/github-action-benchmark@v1 - with: - name: Rust Benchmark - tool: 'cargo' - output-file-path: output.txt - # Use personal access token instead of GITHUB_TOKEN due to https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false - github-token: ${{ secrets.RHAI }} - auto-push: true - # Show alert with commit comment on detecting possible performance regression - alert-threshold: '200%' - comment-on-alert: true - fail-on-alert: true - alert-comment-cc-users: '@schungx' From 8b7e56a9080b82153c099eb668697f99e1308286 Mon Sep 17 00:00:00 2001 From: Friz64 Date: Wed, 26 Jan 2022 19:56:42 +0100 Subject: [PATCH 2/2] Fix Unix CI for no-std Took a bit of digging until i found the issue i was looking for. https://github.com/rust-lang/rust/issues/79609 --- no_std/no_std_test/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/no_std/no_std_test/src/main.rs b/no_std/no_std_test/src/main.rs index 3db95447..a6385cb4 100644 --- a/no_std/no_std_test/src/main.rs +++ b/no_std/no_std_test/src/main.rs @@ -47,3 +47,6 @@ extern "C" fn rust_eh_register_frames() {} #[no_mangle] extern "C" fn rust_eh_unregister_frames() {} + +#[no_mangle] +extern "C" fn _Unwind_Resume() {}