diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 285f72e9..296220e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,8 @@ jobs: if: matrix.target == 'x86_64-uefi' uses: dtolnay/rust-toolchain@master with: - toolchain: nightly-2022-08-01 + toolchain: nightly-2023-02-01 + targets: x86_64-unknown-uefi - name: Build run: cargo xtask build --target ${{ matrix.target }} env: diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0feabc61..3201bb46 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,7 +3,6 @@ components = [ "clippy", "llvm-tools-preview", "rustfmt", - "rust-src", ] targets = [ "x86_64-unknown-none", diff --git a/xtask/src/target.rs b/xtask/src/target.rs index 929f9961..58f3b6d6 100644 --- a/xtask/src/target.rs +++ b/xtask/src/target.rs @@ -29,11 +29,7 @@ impl Target { pub fn cargo_args(&self) -> &'static [&'static str] { match self { Self::X86_64 => &["--target=x86_64-unknown-none"], - Self::X86_64Uefi => &[ - "--target=x86_64-unknown-uefi", - "-Zbuild-std=core,alloc,compiler_builtins", - "-Zbuild-std-features=compiler-builtins-mem", - ], + Self::X86_64Uefi => &["--target=x86_64-unknown-uefi"], Self::AArch64 => &["--target=aarch64-unknown-none-softfloat"], } }