-
Notifications
You must be signed in to change notification settings - Fork 462
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
fix: Add rustc dylib directory to compile action search paths #356
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if that would be feasible but that would be great to add an examples that would not work without that change. Could you do that or are those too complicated examples?
I made a repo that recreates the bug. The |
I think the bug would just repro if you would copy the main.rs and your build file in a subfolder for example, mind doing that so we have a non-regression test along? |
Makes sense. I went ahead and created a new example in the examples folder. Because this example requires nightly Rust and the rustc_dev component, I also updated the rust_repository call in the examples WORKSPACE |
Now it fails on buildkite:
|
Looks like, even though |
I don't really understand how WASM build works, @mfarrugi do you know? |
Not at all :)
…On Tue, Jun 30, 2020 at 4:44 AM Damien Martin-Guillerez < ***@***.***> wrote:
I don't really understand how WASM build works, @mfarrugi
<https://github.com/mfarrugi> do you know?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#356 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAROG6CAQ7XFTUMYC7NOEL3RZGQXVANCNFSM4OJX4FJA>
.
|
I'll take another look in the next day or so. I definitely want to figure this out, because I'm currently blocked by the bug this fixes |
So if I change the date for the nightly rust to EDIT: 2020-05-30 also fails to build and has libLLVM-10-rust-1.45.0-nightly.so Info so far: |
This actually might be caused by rust-lang/rust#70838 |
Closing this PR because it didn't fix the underlying issue. Please see #365 for the actual fix |
Currently, the library paths for rustc are not included as search paths during compile time. These paths include libLLVM, which are necessary when building crates that use the rustc_private crates