diff --git a/cli/src/image_data.js b/cli/src/image_data.js index 5ac9617d..7d7736be 100644 --- a/cli/src/image_data.js +++ b/cli/src/image_data.js @@ -1,10 +1,5 @@ export default class ImageData { constructor(data, width, height) { - // Need to manually copy the memory as wasm-bindgen does not by default - // and by the time we get control in JS land, the memory has already - // been corrupted. - // FIXME: This is bad because it’s overhead that we should only need - // to pay for Rust, not for C++. this.data = data; this.width = width; this.height = height;