Skip to content

Error when running libc-test: cfg(target_vendor) is experimental #4278

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

Closed
farao opened this issue Feb 21, 2025 · 3 comments
Closed

Error when running libc-test: cfg(target_vendor) is experimental #4278

farao opened this issue Feb 21, 2025 · 3 comments
Labels
C-bug Category: bug

Comments

@farao
Copy link

farao commented Feb 21, 2025

I'm not sure if the problem lies in libc's libc-test or in ctest2:

--- stderr
error: cfg(target_vendor) is experimental and subject to change (see issue #29718)
--> /target/x86_64-unknown-l4re-uclibc/debug/build/libc-test-8ad8f4765d91ee28/out/src-hotfix/primitives.rs:23:13
|
23 | not(target_vendor = "apple"),
| ^^^^^^^^^^^^^^^^^^^^^^^
|

I try to get the libc-test suite running for a new operating system (l4re). I have a working freshly built toolchain for it and I adapted libc-test/build.rs for the new OS. Any idea where this could come from? target_vendor has been stable for ages and my built toolchain is based on a quite new state what the output of libc-test also shows:

rust version: 1.86.0-nightly

The command I ran was: CFLAGS="-nostdlib -nostdinc -I... -L..." cargo +l4re test --target x86_64-unknown-l4re-uclibc

@farao farao added the C-bug Category: bug label Feb 21, 2025
@tgross35
Copy link
Contributor

I have no idea why this happens, but it should have been fixed by #4282.

@farao
Copy link
Author

farao commented Feb 24, 2025

Confirmed, thanks (and sorry for apparently not being on the newest state)!

@tgross35
Copy link
Contributor

Well I did that change after you opened the issue so it was the latest state at the time :) thanks for reporting!

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

No branches or pull requests

2 participants