Num.toStr Dec for wasm

This commit is contained in:
Ayaz Hafiz 2022-07-13 12:24:07 -04:00
parent 66b8d145a9
commit b7b9227675
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -1966,7 +1966,7 @@ impl<'a> LowLevelCall<'a> {
FloatWidth::F128 => todo!("F128 to Str"),
},
Layout::Builtin(Builtin::Decimal) => {
todo!("Decimal to Str")
self.load_args_and_call_zig(backend, bitcode::DEC_TO_STR)
}
x => internal_error!("NumToStr is not defined for {:?}", x),
}