Skip to content
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

Compile error on Post-3.2: could not compile rustc-std-workspace-core #1334

Open
daihuasheng opened this issue Jul 8, 2024 · 0 comments
Open

Comments

@daihuasheng
Copy link

daihuasheng commented Jul 8, 2024

I know edition-3 is WIP, so sorry for bothering. I have tried edition-2 and be curious of what is different in new version. I cloned the branch post-3.2 and run cargo build immediately, which received:

 Compiling rustc-std-workspace-core v1.99.0 (/home/dhs/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
  error: data-layout for target `i386-code16-stage-2-5063592404793443119`, `e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128`, differs from LLVM target's `i386-unknown-none-code16` default layout, `e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128`

Version of toolchains:

rustc 1.81.0-nightly (20ae37c18 2024-07-07)
binary: rustc
commit-hash: 20ae37c18df95f9246c019b04957d23b4164bf7a
commit-date: 2024-07-07
host: x86_64-unknown-linux-gnu
release: 1.81.0-nightly
LLVM version: 18.1.7

Appreciate for you help, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant