Rephrase "precompiled platform" to "prebuilt platform"

This commit is contained in:
Jan Van Bruggen 2022-09-06 15:03:04 -06:00
parent 50a8cff460
commit 68be131bd7
No known key found for this signature in database
GPG key ID: FE2A4E38E0FA6134
4 changed files with 22 additions and 22 deletions

View file

@ -27,7 +27,7 @@ mod cli_run {
const OPTIMIZE_FLAG: &str = concatcp!("--", roc_cli::FLAG_OPTIMIZE);
const LINKER_FLAG: &str = concatcp!("--", roc_cli::FLAG_LINKER);
const CHECK_FLAG: &str = concatcp!("--", roc_cli::FLAG_CHECK);
const PRECOMPILED_PLATFORM: &str = concatcp!("--", roc_cli::FLAG_PRECOMPILED, "=true");
const PREBUILT_PLATFORM: &str = concatcp!("--", roc_cli::FLAG_PREBUILT, "=true");
#[allow(dead_code)]
const TARGET_FLAG: &str = concatcp!("--", roc_cli::FLAG_TARGET);
@ -586,8 +586,8 @@ mod cli_run {
ran_without_optimizations = true;
});
// now we can pass the `PRECOMPILED_PLATFORM` flag, because the `call_once` will
// have compiled the platform
// now we can pass the `PREBUILT_PLATFORM` flag, because the
// `call_once` will have built the platform
if !ran_without_optimizations {
// Check with and without optimizations
@ -595,7 +595,7 @@ mod cli_run {
&file_name,
benchmark.stdin,
benchmark.executable_filename,
&[PRECOMPILED_PLATFORM],
&[PREBUILT_PLATFORM],
&app_args,
benchmark.expected_ending,
benchmark.use_valgrind,
@ -606,7 +606,7 @@ mod cli_run {
&file_name,
benchmark.stdin,
benchmark.executable_filename,
&[PRECOMPILED_PLATFORM, OPTIMIZE_FLAG],
&[PREBUILT_PLATFORM, OPTIMIZE_FLAG],
&app_args,
benchmark.expected_ending,
benchmark.use_valgrind,