MrBBot
CDCloudflare Developers
•Created by niconiahi on 3/22/2024 in #workerd
hey guys! implementing a POC with
Looking at the documentation here (https://tinygo.org/docs/guides/webassembly/wasm/#how-it-works), I think you'll need to import and construct a
Go
instance from the wasm_exec.js
file, then pass this to your WebAssembly.Instance
:
11 replies
CDCloudflare Developers
•Created by niconiahi on 3/22/2024 in #workerd
hey guys! implementing a POC with
app
here is an instance of WebAssembly.Module
: https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/Module11 replies
CDCloudflare Developers
•Created by niconiahi on 3/22/2024 in #workerd
hey guys! implementing a POC with
Hey! 👋 In your
entrypoint.mjs
module...
11 replies
CDCloudflare Developers
•Created by MisakaCloud on 3/16/2024 in #workers-help
How can I make miniflare persit R2 data on local in testing?
BINDING: name
🙂4 replies
CDCloudflare Developers
•Created by MisakaCloud on 3/16/2024 in #workers-help
How can I make miniflare persit R2 data on local in testing?
Hey! 👋 Unfortunately, this isn't possible at the moment. This was a deliberate choice to ensure that tests are reproducible, as they always start with an empty environment. If you'd like to seed data before running your tests, I'd encourage you to configure VItest
setupFiles
(https://vitest.dev/config/#setupfiles) with something like...
4 replies
CDCloudflare Developers
•Created by BenW on 3/12/2024 in #workers-help
R2 multipart uploads do not work in local dev mode with long object keys.
Hey! Wrangler 2 is no longer supported aside from critical security updates. What issues were you seeing with Wrangler 3 and Docker? I remember there were some issues with early versions of Wrangler 3 not working in Docker, but they should be addressed now, assuming you're using images providing
glibc 2.31
or higher (i.e. Ubuntu 20.04/22.04, Debian 11/12).3 replies