-
Notifications
You must be signed in to change notification settings - Fork 138
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
Can no longer build on custom target #177
Comments
Ah, looking into |
What version of rustc are you using? |
If you do have a new enough rustc, it may just be that the "Error loading target specification" is stopping us in our tracks, completely breaking How are you specifying the target spec? This may be akin to cuviper/autocfg#15. |
I'm using {
"llvm-target": "x86_64-unknown-none",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"arch": "x86_64",
"target-endian": "little",
"target-pointer-width": "64",
"target-c-int-width": "32",
"os": "none",
"executables": true,
"linker-flavor": "ld.lld",
"linker": "rust-lld",
"panic-strategy": "abort",
"disable-redzone": true,
"features": "-mmx,-sse,+soft-float"
} I'm compiling for it using cargo-xbuild. I am using a [build]
target = "x86_64-snos.json"
[target.'cfg(target_os = "none")']
runner = "bootimage runner" |
Hmm yeah looking more into how |
Providing some mechanism to override its detection may be necessary, via feature flags maybe. |
I think we could relax this particular case -- when the "i128" feature is enabled, just use it without probing |
The new build script to auto-detect
i128
support fails on a custom target. Isi128
support a requirement to use this library now?My project dependencies went from
to
which now causes this build error:
The text was updated successfully, but these errors were encountered: