-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE on #[link(..., kind = "raw-dylib")]
#93842
Labels
C-bug
Category: This is a bug.
F-raw_dylib
`#![feature(raw_dylib)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
O-windows
Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
ricobbe
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Feb 10, 2022
@rustbot claim |
15 tasks
Underlying problem: I never got around to implementing raw-dylib support when used in a |
fanninpm
added a commit
to fanninpm/glacier
that referenced
this issue
Feb 15, 2022
Issue: rust-lang/rust#93842
@rustbot claim |
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Jul 4, 2022
…erister Enable raw-dylib for bin crates Fixes rust-lang#93842 When a `raw-dylib` is used in a `bin` crate, we need to link to the library name specified.
Dylan-DPC
added a commit
to Dylan-DPC/rust
that referenced
this issue
Jul 4, 2022
…erister Enable raw-dylib for bin crates Fixes rust-lang#93842 When a `raw-dylib` is used in a `bin` crate, we need to link to the library name specified.
bjorn3
pushed a commit
to bjorn3/rust
that referenced
this issue
Aug 24, 2022
…ister Enable raw-dylib for bin crates Fixes rust-lang#93842 When `raw-dylib` is used in a `bin` crate, we need to collect all of the `raw-dylib` functions, generate the import library and add that to the linker command line. I also changed the tests so that 1) the C++ dlls are created after the Rust dlls, thus there is no chance of accidentally using them in the Rust linking process and 2) disabled generating import libraries when building with MSVC.
matthiaskrgr
pushed a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 7, 2023
…ister Enable raw-dylib for bin crates Fixes rust-lang#93842 When `raw-dylib` is used in a `bin` crate, we need to collect all of the `raw-dylib` functions, generate the import library and add that to the linker command line. I also changed the tests so that 1) the C++ dlls are created after the Rust dlls, thus there is no chance of accidentally using them in the Rust linking process and 2) disabled generating import libraries when building with MSVC.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
F-raw_dylib
`#![feature(raw_dylib)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
O-windows
Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Cargo.toml:
Compile with
cargo +nightly run
. ICE reproducible on {x86_64,i686}-pc-windows-{msvc,gnu}. Non-windows platforms are irrelevant, as the problem involves theraw_dylib
feature, which is only implemented on Windows.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: