Skip to content

Commit 776cb71

Browse files
committed
[AVR] Enable the avr-rust/llvm submodule
1 parent 79039ce commit 776cb71

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[submodule "src/llvm"]
22
path = src/llvm
3-
url = https://github.com/rust-lang/llvm.git
4-
branch = master
3+
url = https://github.com/avr-rust/llvm.git
4+
branch = avr-rust-llvm-release-4-0-1
55
[submodule "src/rt/hoedown"]
66
path = src/rt/hoedown
77
url = https://github.com/rust-lang/hoedown.git

src/librustc_back/target/avr_unknown_unknown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn target() -> TargetResult {
1616
llvm_target: "avr-unknown-unknown".to_string(),
1717
target_endian: "little".to_string(),
1818
target_pointer_width: "16".to_string(),
19-
data_layout: "e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
19+
data_layout: "e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8".to_owned(),
2020
arch: "avr".to_string(),
2121
linker_flavor: LinkerFlavor::Gcc,
2222
target_os: "unknown".to_string(),

src/llvm

0 commit comments

Comments
 (0)