diff options
| author | Fuwn <[email protected]> | 2022-03-07 23:50:01 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-09 00:46:11 -0700 |
| commit | aa75a80f11eee6f65f22aea924d6a22da777b407 (patch) | |
| tree | fbf5db893edb2642a3c85c7bd7eaadfcfafff1cf /crates | |
| parent | refactor(divina_compile): move all Commands to shellfn (diff) | |
| download | archived-divina-aa75a80f11eee6f65f22aea924d6a22da777b407.tar.xz archived-divina-aa75a80f11eee6f65f22aea924d6a22da777b407.zip | |
fix(divina_compile): linking
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/divina_compile/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/divina_compile/src/lib.rs b/crates/divina_compile/src/lib.rs index a42e67a..5f142cd 100644 --- a/crates/divina_compile/src/lib.rs +++ b/crates/divina_compile/src/lib.rs @@ -277,7 +277,7 @@ impl Compiler { } else { format!("out/{}/{}", package.name, package.name) }, - filenames.join(" "), + &filenames.join(" "), ); #[cfg(windows)] @@ -310,6 +310,8 @@ impl Compiler { #[cfg(unix)] #[rustfmt::skip] // Preserve raw string literal positions mod unix { + use shellfn::shell; + #[shell] pub fn compile(compiler: &str, architecture: &str, source_path: &str, out_file: &str) -> String { r#" $COMPILER -f $ARCHITECTURE $SOURCE_PATH -o $OUT_FILE |