Skip to content

fix +soft-float in x86_64-xen-pv target #13

Open
@n0toose

Description

@n0toose

See: rust-osdev/bootloader#492

This is the resulting output when attempting to build using x86_64-xen-pv.json:

$ cargo build --target x86_64-xen-pv.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/home/myuseraccount/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names --target /tmp/xen/oxerun/x86_64-xen-pv.json --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1)
  --- stderr
  error: error loading target specification: target feature `soft-float` is incompatible with the ABI but gets enabled in target spec
    |
    = help: run `rustc --print target-list` for a list of built-in targets

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