Rollup merge of #104137 - StackDoubleFlow:err-lsc-unsupported, r=bjorn3
Issue error when -C link-self-contained option is used on unsupported platforms The documentation was also updated to reflect this. I'm assuming the supported platforms are the same as initially written in [RELEASES.md](https://github.com/rust-lang/rust/blob/master/RELEASES.md#compiler-17). Fixes #103576
This commit is contained in:
commit
fbcd751ea1
6 changed files with 16 additions and 7 deletions
|
|
@ -210,8 +210,8 @@ metrics.
|
|||
|
||||
## link-self-contained
|
||||
|
||||
On targets that support it this flag controls whether the linker will use libraries and objects
|
||||
shipped with Rust instead or those in the system.
|
||||
On `windows-gnu`, `linux-musl`, and `wasi` targets, this flag controls whether the
|
||||
linker will use libraries and objects shipped with Rust instead or those in the system.
|
||||
It takes one of the following values:
|
||||
|
||||
* no value: rustc will use heuristic to disable self-contained mode if system has necessary tools.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue