mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Closes #4423, link build command refactoring
This commit is contained in:
parent
bc2ec738a0
commit
4ec43d9964
17 changed files with 258 additions and 188 deletions
|
@ -10,14 +10,6 @@ pub mod llvm;
|
|||
#[cfg(any(feature = "gen-wasm", feature = "gen-llvm-wasm"))]
|
||||
pub mod wasm;
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn zig_executable() -> String {
|
||||
match std::env::var("ROC_ZIG") {
|
||||
Ok(path) => path,
|
||||
Err(_) => "zig".into(),
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn src_hash(src: &str) -> u64 {
|
||||
use std::collections::hash_map::DefaultHasher;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue