mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 15:04:33 -05:00
parent
a9567bc31a
commit
9b1bb41d86
3 changed files with 9 additions and 1 deletions
2
.gn
2
.gn
|
@ -25,8 +25,10 @@ default_args = {
|
|||
win_crt_flavor_agnostic = true
|
||||
|
||||
# Minimize size of debuginfo in distributed static library.
|
||||
line_tables_only = true
|
||||
no_inline_line_tables = true
|
||||
symbol_level = 1
|
||||
use_debug_fission = false
|
||||
|
||||
v8_enable_snapshot_compression = false
|
||||
v8_enable_javascript_promise_hooks = true
|
||||
|
|
2
build
2
build
|
@ -1 +1 @@
|
|||
Subproject commit 454490b978ec9fd3b48030f79b497c23f72ec513
|
||||
Subproject commit e6c71b921e3bcaac372bc616be4b6eb12261590b
|
6
build.rs
6
build.rs
|
@ -875,4 +875,10 @@ edge [fontsize=10]
|
|||
assert!(files.contains("../../../example/src/count_bytes.py"));
|
||||
assert!(!files.contains("obj/hello/hello.o"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_static_lib_size() {
|
||||
let static_lib_size = std::fs::metadata(static_lib_path()).unwrap().len();
|
||||
assert!(static_lib_size <= 200u64 << 20); // No more than 200 MiB.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue