Skip to content

Commit 21b5d6b

Browse files
authored
Rollup merge of #147369 - Noratrieb:avr-metadata, r=jieyouxu
Fill out AVR target metadata This will make `-Zbuild-std` automatically build the right crates, notably not building `std` by default, which will both be useful for users and also fix the build for https://does-it-build.noratrieb.dev, which currently tries to build std: http://localhost:3000/build?nightly=2025-07-12&target=avr-none&mode=std. cc `@Patryk27` but I don't think this necessarily needs your approval
2 parents 94e0499 + 9ccaf08 commit 21b5d6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_target/src/spec/targets/avr_none.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ pub(crate) fn target() -> Target {
55
arch: "avr".into(),
66
metadata: crate::spec::TargetMetadata {
77
description: None,
8-
tier: None,
9-
host_tools: None,
10-
std: None,
8+
tier: Some(3),
9+
host_tools: Some(false),
10+
std: Some(false),
1111
},
1212
data_layout: "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8:16-a:8".into(),
1313
llvm_target: "avr-unknown-unknown".into(),

0 commit comments

Comments
 (0)