Skip to content

Commit 9bc0f48

Browse files
bootstrap: add rust hex port
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent 4b246ba commit 9bc0f48

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

bootstrap.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,35 @@ packages:
350350
- '@THIS_COLLECT_DIR@/usr'
351351
- '-j@PARALLELISM@'
352352

353+
- name: hex
354+
source:
355+
subdir: hex
356+
git: 'https://github.com/sitkevij/hex'
357+
tag: 'v0.4.2'
358+
version: '0.4.2'
359+
tools_required:
360+
- host-cargo
361+
sources_required:
362+
- rust-patched-libs
363+
pkgs_required:
364+
- mlibc
365+
configure:
366+
# cc: https://github.com/rust-lang/cargo/issues/10283
367+
# - args: ['python3', '@SOURCE_ROOT@/tools/cargo-inject-patches.py', '@THIS_SOURCE_DIR@/Cargo.toml']
368+
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
369+
build:
370+
- args: ['python3', '@SOURCE_ROOT@/tools/cargo-inject-patches.py', './Cargo.toml']
371+
- args:
372+
- 'cargo'
373+
- 'install'
374+
- '--locked'
375+
- '--path'
376+
- '.'
377+
- '--root'
378+
- '@THIS_COLLECT_DIR@/usr'
379+
- '-j@PARALLELISM@'
380+
381+
353382
- name: quickjs
354383
source:
355384
subdir: bundled

0 commit comments

Comments
 (0)