fix: Split toolchain and datalayout out of CrateData

This commit is contained in:
Lukas Wirth 2024-02-16 14:48:25 +01:00
parent a01655552d
commit b1404d387a
22 changed files with 246 additions and 345 deletions

View file

@ -59,10 +59,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
1: CrateData {
root_file_id: FileId(
@ -132,10 +128,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
2: CrateData {
root_file_id: FileId(
@ -205,10 +197,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
3: CrateData {
root_file_id: FileId(
@ -278,10 +266,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
4: CrateData {
root_file_id: FileId(
@ -347,9 +331,5 @@
name: "libc",
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
}

View file

@ -59,10 +59,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
1: CrateData {
root_file_id: FileId(
@ -132,10 +128,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
2: CrateData {
root_file_id: FileId(
@ -205,10 +197,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
3: CrateData {
root_file_id: FileId(
@ -278,10 +266,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
4: CrateData {
root_file_id: FileId(
@ -347,9 +331,5 @@
name: "libc",
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
}

View file

@ -58,10 +58,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
1: CrateData {
root_file_id: FileId(
@ -130,10 +126,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
2: CrateData {
root_file_id: FileId(
@ -202,10 +194,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
3: CrateData {
root_file_id: FileId(
@ -274,10 +262,6 @@
),
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
4: CrateData {
root_file_id: FileId(
@ -343,9 +327,5 @@
name: "libc",
},
is_proc_macro: false,
target_layout: Err(
"target_data_layout not loaded",
),
toolchain: None,
},
}

View file

@ -36,10 +36,6 @@
Alloc,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
1: CrateData {
root_file_id: FileId(
@ -69,10 +65,6 @@
Core,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
2: CrateData {
root_file_id: FileId(
@ -102,10 +94,6 @@
Other,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
3: CrateData {
root_file_id: FileId(
@ -135,10 +123,6 @@
Other,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
4: CrateData {
root_file_id: FileId(
@ -185,10 +169,6 @@
ProcMacro,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
5: CrateData {
root_file_id: FileId(
@ -218,10 +198,6 @@
Other,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
6: CrateData {
root_file_id: FileId(
@ -316,10 +292,6 @@
Std,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
7: CrateData {
root_file_id: FileId(
@ -349,10 +321,6 @@
Other,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
8: CrateData {
root_file_id: FileId(
@ -382,10 +350,6 @@
Test,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
9: CrateData {
root_file_id: FileId(
@ -415,10 +379,6 @@
Other,
),
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
10: CrateData {
root_file_id: FileId(
@ -492,9 +452,5 @@
),
},
is_proc_macro: false,
target_layout: Err(
"test has no data layout",
),
toolchain: None,
},
}