mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Chromium's build no longer lists the Rust std backtrace crates in `stdlib_files`, because its own std is built without backtrace support. The system Rust toolchain used by `make-v8.sh` ships a std built with it, so linking mksnapshot fails with undefined `gimli` and `addr2line` symbols. Pass the crates through `added_rust_stdlib_libs`, which replaces the libadler patch of `build/rust/std/BUILD.gn`. Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: https://github.com/nodejs/node/pull/67070 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>