diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 347e8070..026121e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,12 +30,12 @@ jobs: include: - build: ubuntu os: ubuntu-latest - rust: nightly-2024-10-06 + rust: nightly-2025-01-02 host_target: x86_64-unknown-linux-gnu mustang_target: x86_64-mustang-linux-gnu - build: i686-linux os: ubuntu-latest - rust: nightly-2024-10-06 + rust: nightly-2025-01-02 target: i686-unknown-linux-gnu gcc_package: gcc-i686-linux-gnu gcc: i686-linux-gnu-gcc @@ -44,7 +44,7 @@ jobs: mustang_target: i686-mustang-linux-gnu - build: aarch64-linux os: ubuntu-latest - rust: nightly-2024-10-06 + rust: nightly-2025-01-02 target: aarch64-unknown-linux-gnu gcc_package: gcc-aarch64-linux-gnu gcc: aarch64-linux-gnu-gcc @@ -54,7 +54,7 @@ jobs: mustang_target: aarch64-mustang-linux-gnu - build: riscv64-linux os: ubuntu-latest - rust: nightly-2024-10-06 + rust: nightly-2025-01-02 target: riscv64gc-unknown-linux-gnu gcc_package: gcc-riscv64-linux-gnu gcc: riscv64-linux-gnu-gcc @@ -138,22 +138,22 @@ jobs: - name: Install rust-src run: | - rustup component add rust-src --toolchain nightly-2024-10-06-x86_64-unknown-linux-gnu + rustup component add rust-src --toolchain nightly-2025-01-02-x86_64-unknown-linux-gnu - name: cargo check non-mustang run: | # Check that the code compiles on non-mustang targets. - cargo +nightly-2024-10-06 check --all --target=${{ matrix.host_target }} + cargo +nightly-2025-01-02 check --all --target=${{ matrix.host_target }} - name: cargo test run: | - cargo +nightly-2024-10-06 test --verbose -Z build-std --target=target-specs/${{ matrix.mustang_target }}.json -- ${{ matrix.test_args }} -- --nocapture + cargo +nightly-2025-01-02 test --verbose -Z build-std --target=target-specs/${{ matrix.mustang_target }}.json -- ${{ matrix.test_args }} -- --nocapture env: RUST_BACKTRACE: 1 - name: cargo test --release run: | - cargo +nightly-2024-10-06 test --verbose --release -Z build-std --target=target-specs/${{ matrix.mustang_target }}.json -- ${{ matrix.test_args }} + cargo +nightly-2025-01-02 test --verbose --release -Z build-std --target=target-specs/${{ matrix.mustang_target }}.json -- ${{ matrix.test_args }} env: RUST_BACKTRACE: 1 @@ -181,20 +181,20 @@ jobs: - name: test mustang-nostd as program working-directory: example-crates/mustang-nostd run: | - cargo +nightly-2024-10-06 run -Zbuild-std=core,alloc --target=../../target-specs/${{ matrix.mustang_target }}.json + cargo +nightly-2025-01-02 run -Zbuild-std=core,alloc --target=../../target-specs/${{ matrix.mustang_target }}.json env: RUST_BACKTRACE: 1 - name: test mustang-nostd as tests working-directory: example-crates/mustang-nostd run: | - cargo +nightly-2024-10-06 test -Zbuild-std=core,alloc,test,std --target=../../target-specs/${{ matrix.mustang_target }}.json + cargo +nightly-2025-01-02 test -Zbuild-std=core,alloc,test,std --target=../../target-specs/${{ matrix.mustang_target }}.json env: RUST_BACKTRACE: 1 - name: test mustang-custom-allocator as tests working-directory: example-crates/mustang-custom-allocator run: | - cargo +nightly-2024-10-06 run -Zbuild-std --target=../../target-specs/${{ matrix.mustang_target }}.json + cargo +nightly-2025-01-02 run -Zbuild-std --target=../../target-specs/${{ matrix.mustang_target }}.json env: RUST_BACKTRACE: 1 diff --git a/Cargo.toml b/Cargo.toml index de23e9c7..86907357 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ exclude = ["/.github", "ci"] keywords = ["linux"] [target.'cfg(target_vendor = "mustang")'.dependencies] -c-gull = { version = "0.20.3", default-features = false, features = ["take-charge", "call-main", "malloc-via-crates"] } +c-gull = { version = "0.21.0", default-features = false, features = ["take-charge", "call-main", "malloc-via-crates"] } [dev-dependencies] similar-asserts = "1.1.0" diff --git a/tests/examples.rs b/tests/examples.rs index ffbf51b8..5e94dc12 100644 --- a/tests/examples.rs +++ b/tests/examples.rs @@ -39,7 +39,7 @@ fn test_example(name: &str, features: &str, stdout: &str, stderr: &str) { let mut command = Command::new("cargo"); if which::which("rustup").is_ok() { - command.arg("+nightly-2024-10-06"); + command.arg("+nightly-2025-01-02"); } command.arg("run").arg("--quiet"); if !features.is_empty() {