Serverless Rust with Cloudflare Workers
Oct 16, 2018Steven Pack

Summary
This post details the process of compiling Rust code to WebAssembly for use with Cloudflare Workers. It covers setting up the development environment using `wasm-pack`, generating a Rust WASM project from a template, and integrating it into a local browser-based test harness using `npm` and `webpack`. The post also highlights the challenges encountered with system calls like entropy generation in the `wasm-unknown-unknown` target and the need for careful consideration of host environment capabilities.