mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Add wasm32 support to preprocessed_host_filename
This commit is contained in:
parent
2dba97d6a2
commit
d9f3e11634
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ const PRECOMPILED_HOST_EXT: &str = "rh1"; // Short for "roc host version 1" (so
|
|||
|
||||
pub const fn preprocessed_host_filename(target: &Triple) -> Option<&'static str> {
|
||||
match target {
|
||||
Triple {
|
||||
architecture: Architecture::Wasm32,
|
||||
..
|
||||
} => Some(concatcp!("wasm32", '.', PRECOMPILED_HOST_EXT)),
|
||||
Triple {
|
||||
operating_system: OperatingSystem::Linux,
|
||||
architecture: Architecture::X86_64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue