Fix tests for isize (w/ deps bump) (#5562)

This commit is contained in:
Jaco
2023-03-24 13:56:55 +02:00
committed by GitHub
parent 6ce7deb1df
commit 7366fc201d
8 changed files with 112 additions and 145 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ export class isize extends i32 {
constructor (registry: Registry, value?: unknown) {
super(registry, value);
throw new Error('The `osize` type should not be used. Since it is platform-specific, it creates incompatibilities between native (generally i64) and WASM (always i32) code. Use one of the `i32` or `i64` types explicitly.');
throw new Error('The `isize` type should not be used. Since it is platform-specific, it creates incompatibilities between native (generally i64) and WASM (always i32) code. Use one of the `i32` or `i64` types explicitly.');
}
}