mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
-C codegen-units isn't needed anymore
This commit is contained in:
parent
c77224cecb
commit
df3da15f0b
@ -1,7 +1,7 @@
|
||||
setlocal
|
||||
cargo build
|
||||
|
||||
set RUSTFLAGS=-Zcodegen-backend=%cd%/../target/debug/rustc_codegen_spirv.dll -Ccodegen-units=1
|
||||
set RUSTFLAGS=-Zcodegen-backend=%cd%/../target/debug/rustc_codegen_spirv.dll
|
||||
|
||||
pushd build_libcore_test
|
||||
cargo build -Z build-std=core --target spirv-unknown-unknown --release
|
||||
|
@ -6,7 +6,7 @@ set -e
|
||||
# build rustc_codegen_spirv
|
||||
cargo build
|
||||
|
||||
export RUSTFLAGS="-Zcodegen-backend=$PWD/../target/debug/librustc_codegen_spirv.so -Ccodegen-units=1"
|
||||
export RUSTFLAGS="-Zcodegen-backend=$PWD/../target/debug/librustc_codegen_spirv.so"
|
||||
|
||||
pushd build_libcore_test
|
||||
cargo build -Z build-std=core --target spirv-unknown-unknown --release
|
||||
|
@ -12,7 +12,7 @@ pub fn build_libcore_test() {
|
||||
}
|
||||
}
|
||||
let rustflags = format!(
|
||||
"-Z codegen-backend=librustc_codegen_spirv{} -C codegen-units=1",
|
||||
"-Z codegen-backend=librustc_codegen_spirv{}",
|
||||
std::env::consts::DLL_SUFFIX
|
||||
);
|
||||
let build = Command::new("cargo")
|
||||
|
Loading…
Reference in New Issue
Block a user