Skip to content

Commit 0c1125a

Browse files
committed
Fixes the type of target-c-int-width in target jsons.
In rust-lang/rust#144218, the type of target-c-int-width was changed to an Option<u16>, when previously it could be parsed from a string. That change caused an error "error: error loading target specification: target-c-int-width: invalid type: string "32", expected u16 at line 13 column 27" This pr is meant to fix that.
1 parent 0d4e502 commit 0c1125a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

i386-code16-boot-sector.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"max-atomic-width": 64,
1111
"position-independent-executables": false,
1212
"disable-redzone": true,
13-
"target-c-int-width": "32",
13+
"target-c-int-width": 32,
1414
"target-pointer-width": "32",
1515
"target-endian": "little",
1616
"panic-strategy": "abort",

i386-code16-stage-2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"max-atomic-width": 64,
1111
"position-independent-executables": false,
1212
"disable-redzone": true,
13-
"target-c-int-width": "32",
13+
"target-c-int-width": 32,
1414
"target-pointer-width": "32",
1515
"target-endian": "little",
1616
"panic-strategy": "abort",

i686-stage-3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"max-atomic-width": 64,
1111
"position-independent-executables": false,
1212
"disable-redzone": true,
13-
"target-c-int-width": "32",
13+
"target-c-int-width": 32,
1414
"target-pointer-width": "32",
1515
"target-endian": "little",
1616
"panic-strategy": "abort",

0 commit comments

Comments
 (0)