Tier 3 targets can't be installed via rustup, so don't recommend that. Additionally, do recommend build-std on stable because it's the recommended way to use these targets, people should switch to nightly.
14 lines
474 B
Rust
14 lines
474 B
Rust
// Ensure that we do not recommend rustup installing tier 3 targets.
|
|
|
|
//@ compile-flags: --target m68k-unknown-linux-gnu
|
|
//@ needs-llvm-components: m68k
|
|
//@ rustc-env:CARGO_CRATE_NAME=foo
|
|
//@ ignore-backends: gcc
|
|
#![feature(no_core)]
|
|
#![no_core]
|
|
extern crate core;
|
|
//~^ ERROR can't find crate for `core`
|
|
//~| NOTE can't find crate
|
|
//~| NOTE target may not be installed
|
|
//~| HELP consider building the standard library from source with `cargo build -Zbuild-std`
|
|
fn main() {}
|