Fix path missed in #200

This commit is contained in:
khyperia 2020-11-02 12:55:49 +01:00
parent 0b5ddb697b
commit 72e1373e1c

View File

@ -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())?;