mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-util/codex: fix RUST_MIN_STACK overflow in codex-core
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -140,6 +140,9 @@ src_compile() {
|
||||
use amd64 && rusty_v8_triple=x86_64-unknown-linux-musl
|
||||
use arm64 && rusty_v8_triple=aarch64-unknown-linux-musl
|
||||
|
||||
# codex-core trait resolution overflows rustc's default 8MiB stack
|
||||
export RUST_MIN_STACK=16777216
|
||||
|
||||
RUSTY_V8_ARCHIVE="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_librusty_v8_release_${rusty_v8_triple}.a.gz" \
|
||||
RUSTY_V8_SRC_BINDING_PATH="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_src_binding_release_${rusty_v8_triple}.rs" \
|
||||
cargo_src_compile --package codex-cli
|
||||
|
||||
Reference in New Issue
Block a user