slaeshS
Denoβ€’6mo 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 πŸ™‚
Was this page helpful?