mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Rephrase "precompiled platform" to "prebuilt platform"
This commit is contained in:
parent
50a8cff460
commit
68be131bd7
4 changed files with 22 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue