-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Description
Checklist
- I've looked through the issues and pull requests for similar reports
Describe your issue
summary: mips suddenly stopped working due to std missing. works again when using powerpc target instead, which solves the issue for us. this is just to let you know something went wrong. locally, i couldn't reproduce the behaviour, but in the github workflows, it consistently failed.
details:
- we have a ci that tests on a big endian system at the exrs library, using github workflows on an ubuntu runner
- we use simple cross-rs commands such as
cross build --target mips-unknown-linux-gnu --verbose
- we did not change anything, but suddenly the big endian mips tests using qemu did not compile anymore (even for commits that previously worked), see this log
- rust compiler errors
error[E0463]: can't find crate for 'core' note: the 'mips-unknown-linux-gnu' target may not be installed help: consider downloading the target with 'rustup target add mips-unknown-linux-gnu'
and later cross-rs prints
warning: rust-std is not available for mips-unknown-linux-gnu
- works again when changing target from mips to
powerpc-unknown-linux-gnu
What target(s) are you cross-compiling for?
mips-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
- macOS
- Windows
- Linux / BSD
- other OS (specify in description)
What architecture is the host?
- x86_64 / AMD64
- arm32
- arm64 (including Mac M1)
What container engine is cross using?
- docker
- podman
- other container engine (specify in description)
cross version
0.2.5
Example
github-workflow-rust.yaml
mips:
runs-on: ubuntu-20.04
name: emulated big endian mips system
steps:
- uses: actions/checkout@v2
- name: Install or use cached cross-rs/cross
uses: baptiste0928/cargo-install@v1
with:
crate: cross
- name: Cache Cargo Dependencies
uses: Swatinem/[email protected]
- name: Start Docker
run: sudo systemctl start docker
- name: Cross-Compile project to mips-unknown-linux-gnu
run: cross build --target=mips-unknown-linux-gnu --verbose
# https://github.com/cross-rs/cross#supported-targets
- name: Cross-Run Tests in mips-unknown-linux-gnu using Qemu
run: cross test --target mips-unknown-linux-gnu --verbose
Additional information / notes
No response
Metadata
Metadata
Assignees
Labels
No labels