mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Fix references to obsolete CLI flags
This commit is contained in:
parent
03c189c049
commit
4065645d3c
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ pub fn build_app<'a>() -> App<'a> {
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new(FLAG_LINK)
|
Arg::new(FLAG_LINK)
|
||||||
.long(FLAG_LINK)
|
.long(FLAG_LINK)
|
||||||
.about("Deprecated in favor of --force-roc-linker and --legacy-linker")
|
.about("Deprecated in favor of --linker")
|
||||||
.required(false),
|
.required(false),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
@ -335,7 +335,7 @@ pub fn build(matches: &ArgMatches, config: BuildConfig) -> io::Result<i32> {
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use surgical linking when supported, or when explicitly requested with --force-roc-linker
|
// Use surgical linking when supported, or when explicitly requested with --linker surgical
|
||||||
let surgically_link = if matches.is_present(FLAG_LINKER) {
|
let surgically_link = if matches.is_present(FLAG_LINKER) {
|
||||||
matches.value_of(FLAG_LINKER) == Some("surgical")
|
matches.value_of(FLAG_LINKER) == Some("surgical")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue