diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-19 21:08:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-19 21:08:01 +0100 |
| commit | 6e65ebf23641a755b0088569751c0b02e898f1e9 (patch) | |
| tree | 52c19bff69db599bd86ee92250bee40d57af5622 /library/src/lib.rs | |
| parent | 1e681b35c70cbb9c117d9f9b94bb2980753f685d (diff) | |
Panic function
Diffstat (limited to 'library/src/lib.rs')
| -rw-r--r-- | library/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/lib.rs b/library/src/lib.rs index 8a231531..31da5b71 100644 --- a/library/src/lib.rs +++ b/library/src/lib.rs @@ -96,6 +96,7 @@ fn global(math: Module, calc: Module) -> Module { // Compute. global.def_func::<compute::TypeFunc>("type"); global.def_func::<compute::ReprFunc>("repr"); + global.def_func::<compute::PanicFunc>("panic"); global.def_func::<compute::AssertFunc>("assert"); global.def_func::<compute::EvalFunc>("eval"); global.def_func::<compute::IntFunc>("int"); |
