Skip to content

Commit 492cb39

Browse files
authored
Rollup merge of #80662 - rxrbln:master, r=estebank
Added support for i386-unknown-linux-gnu and i486-unknown-linux-gnu Support for both can be useful when creating new firmware, boot loaders, or embedded operating systems.
2 parents ac7267a + a0b0aec commit 492cb39

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use crate::spec::Target;
2+
3+
pub fn target() -> Target {
4+
let mut base = super::i686_unknown_linux_gnu::target();
5+
base.cpu = "i386".to_string();
6+
base.llvm_target = "i386-unknown-linux-gnu".to_string();
7+
base
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use crate::spec::Target;
2+
3+
pub fn target() -> Target {
4+
let mut base = super::i686_unknown_linux_gnu::target();
5+
base.cpu = "i486".to_string();
6+
base.llvm_target = "i486-unknown-linux-gnu".to_string();
7+
base
8+
}

0 commit comments

Comments
 (0)