mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 14:56:27 +00:00
Fix windows
This commit is contained in:
parent
541e5701e6
commit
9ff186606d
8
rustc_codegen_spirv/build_libcore_test.bat
Normal file
8
rustc_codegen_spirv/build_libcore_test.bat
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
setlocal
|
||||||
|
cargo build
|
||||||
|
|
||||||
|
set RUSTFLAGS=-Zcodegen-backend=%cd%/target/debug/rustc_codegen_spirv.dll
|
||||||
|
|
||||||
|
pushd build_libcore_test
|
||||||
|
xargo build --target wasm32-unknown-unknown
|
||||||
|
popd
|
@ -1 +1,4 @@
|
|||||||
rustup +nightly component add rust-src rustc-dev llvm-tools-preview
|
rustup install nightly-2020-07-26
|
||||||
|
rustup default nightly-2020-07-26
|
||||||
|
rustup component add rust-src rustc-dev llvm-tools-preview
|
||||||
|
rustup target add wasm32-unknown-unknown
|
||||||
|
@ -11,6 +11,8 @@ extern crate rustc_session;
|
|||||||
extern crate rustc_span;
|
extern crate rustc_span;
|
||||||
extern crate rustc_symbol_mangling;
|
extern crate rustc_symbol_mangling;
|
||||||
extern crate rustc_target;
|
extern crate rustc_target;
|
||||||
|
extern crate rustc_interface;
|
||||||
|
extern crate rustc_driver;
|
||||||
|
|
||||||
use rustc_codegen_ssa::traits::CodegenBackend;
|
use rustc_codegen_ssa::traits::CodegenBackend;
|
||||||
use rustc_data_structures::owning_ref::OwningRef;
|
use rustc_data_structures::owning_ref::OwningRef;
|
||||||
|
Loading…
Reference in New Issue
Block a user