Skip to content

Commit f283abe

Browse files
committed
Use dummy custom target file again
1 parent acbf1b1 commit f283abe

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

build.sh

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,7 @@ need_cmd riscv32-unknown-elf-clang++
1010

1111
# Rust requires a custom target file to exist for our custom target as part of the bootstrap build,
1212
# but it doesn't actually look at the contents.
13-
cat > /tmp/riscv32em-athena-zkvm-elf.json << EOF
14-
{
15-
"arch": "riscv32",
16-
"cpu": "generic-rv32",
17-
"crt-objects-fallback": "false",
18-
"data-layout": "e-m:e-p:32:32-i64:64-n32-S32",
19-
"eh-frame-header": false,
20-
"emit-debug-gdb-scripts": false,
21-
"features": "+e,+m",
22-
"linker": "rust-lld",
23-
"linker-flavor": "gnu-lld",
24-
"llvm-abiname": "ilp32e",
25-
"llvm-target": "riscv32",
26-
"max-atomic-width": 32,
27-
"os": "zkvm",
28-
"panic-strategy": "abort",
29-
"relocation-model": "static",
30-
"singlethread": true,
31-
"target-pointer-width": "32",
32-
"vendor": "athena",
33-
"options": {
34-
"c-flags": "-march=rv32e -mabi=ilp32e",
35-
"pre-link-args": {
36-
"gcc": [
37-
"-march=rv32e",
38-
"-mabi=ilp32e"
39-
]
40-
}
41-
}
42-
}
43-
EOF
13+
touch /tmp/riscv32em-athena-zkvm-elf.json
4414

4515
# Set environment variables to override compiler flags
4616
export CC_riscv32em_athena_zkvm_elf="clang"

0 commit comments

Comments
 (0)