forked from M-Labs/nac3
1
0
Fork 0

core: build.rs rename out_path to out_dir

This commit is contained in:
lyken 2024-07-09 11:19:26 +08:00
parent f73ced560e
commit e35dfc6453
1 changed files with 2 additions and 2 deletions

View File

@ -81,9 +81,9 @@ fn compile_irrt(irrt_dir: &Path, out_dir: &Path) {
assert!(llvm_as.wait().unwrap().success());
}
fn compile_irrt_test(irrt_dir: &Path, out_path: &Path) {
fn compile_irrt_test(irrt_dir: &Path, out_dir: &Path) {
let irrt_test_cpp_path = irrt_dir.join("irrt_test.cpp");
let exe_path = out_path.join("irrt_test.out");
let exe_path = out_dir.join("irrt_test.out");
let flags: &[&str] = &[
irrt_test_cpp_path.to_str().unwrap(),