From f2b1d8d9e668bf26f21edea15a6b8ce449b50016 Mon Sep 17 00:00:00 2001 From: core Date: Sat, 29 Apr 2023 09:59:00 -0400 Subject: [PATCH] fix non-api compilation --- spacetime_rs/src/configure/rust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacetime_rs/src/configure/rust.rs b/spacetime_rs/src/configure/rust.rs index 9d8d52402874b99cd7dbdcbcd817d6a08e49f025..b5e260dbbeec9f43e68e6547e35716bf4395ecbc 100644 --- a/spacetime_rs/src/configure/rust.rs +++ b/spacetime_rs/src/configure/rust.rs @@ -29,7 +29,7 @@ pub fn configure_rust_target(rust_target: &str, rust_env: &str, writer: &mut Nin writer.rule(&format!("cargo-{}", rust_target), &format!("cargo build --bin starkingdoms-{} --release", rust_target), None, Some(root.join("target/release/").join(format!("starkingdoms-{}.d", rust_target)).to_str().unwrap()), None, Some("console"), None, None, None, None)?; } - writer.build(vec![root.join(format!("target/{}/", out_dir)).join(format!("starkingdoms-{}", rust_target)).to_str().unwrap().to_string()], "cargo-api".to_string(), vec![root.join("server/Cargo.toml").to_str().unwrap().to_string()], vec![], vec![], HashMap::new(), vec![], None, None)?; + writer.build(vec![root.join(format!("target/{}/", out_dir)).join(format!("starkingdoms-{}", rust_target)).to_str().unwrap().to_string()], format!("cargo-{}", rust_target), vec![root.join("server/Cargo.toml").to_str().unwrap().to_string()], vec![], vec![], HashMap::new(), vec![], None, None)?; writer.build(vec![rust_target.to_string()], "phony".to_string(), vec![root.join(format!("target/{}/", out_dir)).join(format!("starkingdoms-{}", rust_target)).to_str().unwrap().to_string()], vec![], vec![], HashMap::new(), vec![], None, None)?; Ok(())