-
Notifications
You must be signed in to change notification settings - Fork 70
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
Doesn't compile with "+soft-float": Compiler LLVM Error: "Do not know how to split the result of this operator" #98
Comments
Related issue from 2019: rust-lang/rust#61721 |
Disabling the |
Do you have a stack trace or anything that narrows down the investigation? |
fn main() {
let _book_reviews = hashbrown::HashMap::<(), ()>::new();
}
Update 1 Unfortunately, I still can verify that its Update 2 |
I'm going to tentatively mark this as wontfix since it's not clear to me that the actual issue is in |
Is there a workaround for this? Or will I just have to sit and wait for LLVM to fix this... |
@Hugo4IT the workaround is to either use the crate without the simd-feature and soft-float or to pre-render all characters, such as https://crates.io/crates/noto-sans-mono-bitmap does it |
Using the crate without the SIMD feature still brought up some linker errors, but those were solvable by simply copying the |
@Hugo4IT seems strange, I don't use min/max in fontdue. Disabling simd should be sufficient. What does your environment look like? |
@Hugo4IT @mooman219 this is a bug by Rust when using the "+soft-float" feature on x86. more info: rust-lang/rust#62729 |
This is probably a bug in the Rust compiler but maybe this can be easily fixed by a workaround or someone already has experience with this error?
When this crate gets compiled with
cargo rustc -- -C target-feature=+soft-float
cargo exits with an error and LLVM says: "Do not know how to split the result of this operator"I already checked the dependencies
ttf-parser
andhashbrown
, but the problem occurs only infontdue
with different Rust compiler versions accross stable and nightly releases. Anyone has an idea?The text was updated successfully, but these errors were encountered: