#Attempting to make a rust worker makes a JS one

2 messages · Page 1 of 1 (latest)

acoustic lintel
#

Hi there I'm using the npm init cloudflare mw_image_function worker-rust command to make a rust worker but it ends up making a javascript one instead of a rust one, anyone know why?

silk fiber
#

The docs for this are still a little outdated with wrangler v3, but slowly improving. You probably want to use npx wrangler generate project-name https://github.com/cloudflare/workers-sdk/templates/experimental/worker-rust.