Skip to content

Commit ba7d1af

Browse files
bootstrap: fix rust build
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent 118e61e commit ba7d1af

File tree

2 files changed

+85
-62
lines changed

2 files changed

+85
-62
lines changed

bootstrap.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ sources:
8585
subdir: 'bundled'
8686
git: 'https://github.com/Andy-Python-Programmer/libc.git'
8787
branch: 'master'
88-
commit: '707daa9c11222ac2c3ac4d1ba23c96a21d2d633c'
88+
commit: '54d72b34bd614f0081e0da01e6323c7c69f45395'
8989

9090
- name: rust-num-cpus
9191
subdir: 'bundled'
@@ -208,23 +208,30 @@ tools:
208208
tools_required:
209209
- host-llvm
210210
sources_required:
211-
- rust-libc
211+
- rust-patched-libs
212212
compile:
213213
- args: |
214214
cat << EOF > config.toml
215215
changelog-seen = 2
216+
216217
[llvm]
217218
targets = "X86"
219+
218220
[build]
219221
target = ["x86_64-unknown-aero-system", "x86_64-unknown-linux-gnu"]
220222
build-dir = "@THIS_BUILD_DIR@"
221223
docs = false
224+
222225
[install]
223226
prefix = "@PREFIX@"
227+
224228
[rust]
225229
codegen-tests = false
230+
deny-warnings = false # work around rust-num-cpus warning
231+
226232
[target.x86_64-unknown-linux-gnu]
227233
llvm-config = "@BUILD_ROOT@/tools/host-llvm/bin/llvm-config"
234+
228235
[target.x86_64-unknown-aero-system]
229236
llvm-config = "@BUILD_ROOT@/tools/host-llvm/bin/llvm-config"
230237
EOF

0 commit comments

Comments
 (0)