A Frickn Chickn
How do you define an op in rust to return a string?
Frustrating that the doc is out of date, but at least underlying repo has the updated info. Mentioning on the blog that it's using a deprecated/stale version of deno_core, and the repo has updated examples would be super helpful.
5 replies
How do you define an op in rust to return a string?
I found answer in https://github.com/denoland/roll-your-own-javascript-runtime/blob/main/src/main.rs#L26-L31
5 replies
How do you define an op in rust to return a string?
related: it'd be super nice if https://deno.com/blog/roll-your-own-javascript-runtime was updated to use
#[op2]
instead of the non-existent #[op]
😄 but that's not my immediate question5 replies