Skip to content

Commit f335c95

Browse files
committed
i686 target: don't pretend to be gnu/linux
This prevents llvm from emitting calls to bcmp for memcmp. rust-lang/rust#62698
1 parent e0a3df3 commit f335c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/i686-unknown-zephyr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"relocation-model": "static",
1111
"linker-flavor": "gcc",
1212
"linker-is-gnu": true,
13-
"llvm-target": "i686-unknown-linux-gnu",
13+
"llvm-target": "i686-elf",
1414
"max-atomic-width": 64,
1515
"os": "zephyr",
1616
"position-independent-executables": false,

0 commit comments

Comments
 (0)