mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 18:01:31 +00:00
Update nbody example for Rust (#528)
This commit is contained in:
@ -8,8 +8,8 @@ const compiled = new WebAssembly.Module(
|
||||
const imports = {
|
||||
env: {
|
||||
memory: new WebAssembly.Memory({ initial: 17 }),
|
||||
abort: (filename, line, column) => {
|
||||
throw Error("abort called at " + line + ":" + colum);
|
||||
abort: (_filename, line, column) => {
|
||||
throw Error("abort called at " + line + ":" + column);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user