mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 08:14:12 +00:00
Fix path missed in #200
This commit is contained in:
parent
0b5ddb697b
commit
72e1373e1c
@ -43,7 +43,7 @@ edition = "2018"
|
|||||||
crate-type = ["dylib"]
|
crate-type = ["dylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
spirv-std = { path = "../../spirv-std" }
|
spirv-std = { path = "../../crates/spirv-std" }
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
"#;
|
"#;
|
||||||
@ -60,7 +60,7 @@ fn panic(_: &PanicInfo) -> ! {
|
|||||||
"#;
|
"#;
|
||||||
|
|
||||||
fn setup(src: &str) -> Result<PathBuf, Box<dyn Error>> {
|
fn setup(src: &str) -> Result<PathBuf, Box<dyn Error>> {
|
||||||
let project = Path::new("../target/test-spirv").to_owned();
|
let project = Path::new("../../target/test-spirv").to_owned();
|
||||||
let cargo_toml = project.join("Cargo.toml");
|
let cargo_toml = project.join("Cargo.toml");
|
||||||
let lib_rs = project.join("src/lib.rs");
|
let lib_rs = project.join("src/lib.rs");
|
||||||
std::fs::create_dir_all(lib_rs.parent().unwrap())?;
|
std::fs::create_dir_all(lib_rs.parent().unwrap())?;
|
||||||
|
Loading…
Reference in New Issue
Block a user