Skip to content

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

Closed
@farao

Description

@farao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions