Skip to content

Commit

Permalink
Merge pull request #7236 from roc-lang/fix-no-link
Browse files Browse the repository at this point in the history
Restore `roc build --no-link` pipeline
  • Loading branch information
smores56 authored Nov 21, 2024
2 parents 86b1933 + 34f5b61 commit 6a3db1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/build/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ fn build_loaded_file<'a>(

let built_host_opt =
// Not sure if this is correct for all calls with LinkType::Dylib...
if link_type == LinkType::Dylib || target == Target::Wasm32 {
if link_type == LinkType::None || link_type == LinkType::Dylib || target == Target::Wasm32 {
BuiltHostOpt::None
} else {
let prebuilt_host = determine_built_host_path(&platform_main_roc_path, target, build_host_requested, link_type, linking_strategy, suppress_build_host_warning);
Expand Down

0 comments on commit 6a3db1e

Please sign in to comment.