M1 primary view: wx-rs patched+extended (Linux/GTK3 build, widget bridge), vendored wx 3.3.3 + asic-rs in thirdparty/, UI-SPEC table+KPIs+dialogs, build scripts

This commit is contained in:
2026-09-15 13:59:55 -06:00
parent 165d899fd8
commit b264cdd6d1
16316 changed files with 4932188 additions and 58 deletions
+29
View File
@@ -0,0 +1,29 @@
use crate::digit_table;
use core::mem;
const _: () = {
let mut static_data = mem::size_of_val(&digit_table::DIGIT_TABLE);
#[cfg(feature = "small")]
{
use crate::d2s_small_table;
static_data += mem::size_of_val(&d2s_small_table::DOUBLE_POW5_INV_SPLIT2)
+ mem::size_of_val(&d2s_small_table::POW5_INV_OFFSETS)
+ mem::size_of_val(&d2s_small_table::DOUBLE_POW5_SPLIT2)
+ mem::size_of_val(&d2s_small_table::POW5_OFFSETS)
+ mem::size_of_val(&d2s_small_table::DOUBLE_POW5_TABLE);
assert!(static_data == 1016);
}
#[cfg(not(feature = "small"))]
{
use crate::d2s_full_table;
static_data += mem::size_of_val(&d2s_full_table::DOUBLE_POW5_INV_SPLIT)
+ mem::size_of_val(&d2s_full_table::DOUBLE_POW5_SPLIT);
assert!(static_data == 10888); // 10.6K
}
};