mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Using a HTTPS URL platform implies it's prebuilt
This commit is contained in:
parent
f39eaff217
commit
52b71cd85f
2 changed files with 64 additions and 34 deletions
|
@ -175,7 +175,7 @@ pub fn build_file<'a>(
|
|||
};
|
||||
|
||||
// We don't need to spawn a rebuild thread when using a prebuilt host.
|
||||
let rebuild_thread = if prebuilt {
|
||||
let rebuild_thread = if prebuilt || loaded.uses_prebuilt_platform {
|
||||
if !preprocessed_host_path.exists() {
|
||||
eprintln!(
|
||||
"\nSince I was run with --prebuilt-platform=true, I was expecting this file to exist:\n\n {}\n\nHowever, it was not there!\n\nIf you have the platform's source code locally, you may be able to regenerate it by re-running this command with --prebuilt-platform=false\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue