You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing rustc -C link-args=... results in the ... being split by whitespace and each element being supplied as a single argument to the linker. This means it's not possible to specify a linker argument with whitespace in it (for example, a path to a linker script) on the command line. The same applies to the #[link_args] attribute. Possible solutions are parsing some kind of escaping (fragile) and allowing setting multiple link-arg arguments, each of which individually is not whitespace-split.
The text was updated successfully, but these errors were encountered:
Executing
rustc -C link-args=...
results in the...
being split by whitespace and each element being supplied as a single argument to the linker. This means it's not possible to specify a linker argument with whitespace in it (for example, a path to a linker script) on the command line. The same applies to the#[link_args]
attribute. Possible solutions are parsing some kind of escaping (fragile) and allowing setting multiplelink-arg
arguments, each of which individually is not whitespace-split.The text was updated successfully, but these errors were encountered: