rust/tests/ui/no_std
Stuart Cook 9a9a0781fa
Rollup merge of #138904 - madsmtm:apple-test-no-std, r=tgross35
Test linking and running `no_std` binaries

I looked around, but it seems that we do not have a test that tests a `#![no_std]` + `#![no_main]` binary. So now I've added one. Motivated by discussion in [this Zulip thread](https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/Provide.20.60__isPlatformVersionAtLeast.60.20in.20.60std.60.3F/with/507870028).

r? ```@tgross35```

try-job: arm-android
try-job: armhf-gnu
try-job: dist-ohos
try-job: x86_64-mingw-1
2025-04-11 13:31:45 +10:00
..
no-std-no-start-binary.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
no-std-no-start-binary.stderr Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
no-std-unwind-binary.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
no-std-unwind-binary.stderr Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
simple-runs.rs Test linking and running no_std binaries 2025-03-24 23:22:08 +01:00