-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use --remap-path-prefix RUSTFLAG to canonicalize build directory #1909
Comments
Good idea and feel free to PR for this! I guess it may be add a flag and forward it in build script. |
Now we support |
If I pass |
Totally agree it is great if we can allow users to utilize the default args. I am not sure whether we should use "$DEFAULT_FRB_RUSTFLAGS" though, since it looks like an environment variable, and users may gets confused. |
I haven't been able to think of an elegant way to express it. |
More brainstorms: Another way may be, check whether the user-provided wasm-pack-rustflags does contain the default one or not. If not, hint the user. |
That would have saved me some confusing broken builds! |
For any other readers, for reference, my full command is:
|
Let me reopen this issue to track that ;) |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue. |
Is your feature request related to a problem? Please describe.
Panic messages/stack traces include the full path to the cargo directory on the build machine, e.g. /Users/aran/.cargo<...> in my case.
Describe the solution you'd like
Use
--remap-path-prefix
or some other solution to canonicalize (and disguise!) the build path inbuild-web
command. e.g. https://users.rust-lang.org/t/how-to-properly-use-remap-path-prefix/104406/6Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: