File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ [patch .crates-io ]
2
+ libc = { path = " /base_dir/sources/rust-libc" }
Original file line number Diff line number Diff line change @@ -7,10 +7,12 @@ imagedeps="python git wget gcc"
7
7
allow_network="yes"
8
8
9
9
build() {
10
- # Rust memes.
10
+ echo "Patching out rust memes..."
11
11
cp -rp "${source_dir}/." ./
12
12
13
- CARGO_HOME=/tmp/cargo ./x.py build --stage 2 -j${parallelism}
13
+ mkdir /tmp/cargo
14
+ cp ${base_dir}/build-support/rust/host-config.toml /tmp/cargo/config.toml
15
+ CARGO_HOME=/tmp/cargo ./x.py build --stage 2 -j${parallelism} --verbose
14
16
}
15
17
16
18
package() {
Original file line number Diff line number Diff line change 1
1
name=rust-libc
2
- version=fe4e9cda46b0be8421b0f56df0b63b8c4dcaf5e6
2
+ version=cf112e9aab32267f6f92c519cb3ebe59f754059d
3
3
tarball_url="https://github.com/Andy-Python-Programmer/libc/archive/${version}.tar.gz"
4
- tarball_blake2b="7a97d83784dfb6cdfd189d880f367facd2e06e43468248b41aa0239d3043172dfb508eca0209a7adb0ec12fda06887bfbdc37f41ebcb65b1a48967754c940b8f "
4
+ tarball_blake2b="74427da3af0c4c7fcd7b178d8084556e4a8e5f7707918d96612d05e3713255da4cc2a55626eacf31a7b7400deedb0df9433ca563bcac1714accfa37f55ed2bc0 "
You can’t perform that action at this time.
0 commit comments