DenoDDeno
Powered by
slaeshS
Denoβ€’8mo agoβ€’
11 replies
slaesh

deno FFI, how to automatically build the shared-custom-lib while using the deno-library?

hey there, i am currently fiddling around with FFI and a custom c/rust lib.. works fine, awesome!

BUT.. in the real world, once you build and put together your cool c/rust- and deno-lib.. you wanto to open-source it.. so others might use it too.
in the NPM world, once you do "npm install my-custom-thingy" .. you could set it up that it build the c-lib then on the target platform and if it does not work, the install fails.

how to achieve the same with deno? without writing a 100 pages long readme how to build the custom lib xD

thanks πŸ™‚
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

FFI deno_bindgen, how to see build logs?
nightwarriorakNnightwarriorak / help
3y ago
If I use FFI with Deno Jupyter, will it not print the shared lib's stdout? (like Rust println!())
NeTTNNeTT / help
3y ago
Is WASM generally faster than using Deno FFI?
pronoobPpronoob / help
3y ago