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
When running trybuild based tests this remapping blocks the path normalization from working.
I've tried changing a few things but wasn't able to come up with an entirely satisfying solution to this myself. The only one that managed to work was unconditionally setting RUSTFLAGS rather than only overriding that if it exists in the environment, that makes cargo ignore any .cargo/config set rustflags. (The other main change I attempted was to add a [target.$TARGET] section to the generated .cargo/config, that still fails as the flags from these get merged rather than overriding each other).
The text was updated successfully, but these errors were encountered:
I have globally setup my machine to remap some prefixes which include my home directory where I build projects from.
When running
trybuild
based tests this remapping blocks the path normalization from working.I've tried changing a few things but wasn't able to come up with an entirely satisfying solution to this myself. The only one that managed to work was unconditionally setting
RUSTFLAGS
rather than only overriding that if it exists in the environment, that makes cargo ignore any.cargo/config
set rustflags. (The other main change I attempted was to add a[target.$TARGET]
section to the generated.cargo/config
, that still fails as the flags from these get merged rather than overriding each other).The text was updated successfully, but these errors were encountered: