mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-14 07:45:04 +00:00
implement expect struct reporting
This commit is contained in:
parent
dbbbc32583
commit
1bfac155ca
3 changed files with 79 additions and 9 deletions
|
@ -2608,10 +2608,10 @@ test "getScalarUnsafe" {
|
|||
}
|
||||
|
||||
pub fn strCloneTo(
|
||||
string: RocStr,
|
||||
ptr: [*]u8,
|
||||
offset: usize,
|
||||
extra_offset: usize,
|
||||
string: RocStr,
|
||||
) callconv(.C) usize {
|
||||
const WIDTH: usize = @sizeOf(RocStr);
|
||||
if (string.isSmallStr()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue