Skip to content

Can't test target i686-pc-windows-gnu when -Zdoctest-xcompile flag is present #671

Closed
@ens-scmeeu

Description

@ens-scmeeu

Removing the -Zdoctest-xcompile and it works fine, albeit without doctests. Also, interestingly the x86_64-pc-windows-gnu target is not impacted, so it seems like something with this particular target. I should add this is under WSL2 in case that is relevant with a Ubuntu 20.04 OS.

scott@DESKTOP-26R2LTB:~/IdeaProjects/netapi_v2-rs$ cross +nightly test --target=i686-pc-windows-gnu -Zdoctest-xcompile
Warning: `cross` does not provide a Docker image for target i686-pc-windows-gnu, specify a custom image in `Cross.toml`. Falling back to `cargo` on the host.
error: the `-Z` flag is only accepted on the nightly channel of Cargo, but this is the `stable` channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions