Skip to content

Commit 9ccaf08

Browse files
authored
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.
1 parent e2c96cc commit 9ccaf08

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)