Using a HTTPS URL platform implies it's prebuilt

This commit is contained in:
Richard Feldman 2022-11-22 10:45:22 -05:00
parent f39eaff217
commit 52b71cd85f
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 64 additions and 34 deletions

View file

@ -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",