mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Follow Zig conventions; Update zig bitcode export fn names; Update rust
to use bitcode fn name consts;
This commit is contained in:
parent
de36c8e270
commit
08b78e9c9b
3 changed files with 213 additions and 189 deletions
|
@ -16,3 +16,10 @@ pub fn get_bytes() -> Vec<u8> {
|
|||
.expect("Unable to read builtins bitcode");
|
||||
buffer
|
||||
}
|
||||
|
||||
pub const MATH_ATAN: &str = "roc_builtins.math.atan";
|
||||
pub const MATH_IS_FINITE: &str = "roc_builtins.math.is_finite";
|
||||
pub const MATH_POW_INT: &str = "roc_builtins.math.pow_int";
|
||||
|
||||
pub const STR_COUNT_SEGEMENTS: &str = "roc_builtins.str.count_segements";
|
||||
pub const STR_STR_SPLIT_IN_PLACE: &str = "roc_builtins.str.str_split_in_place";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue