Le ven. 15 mai 2026 à 15:36, Jonas Smedegaard <[email protected]> a écrit :

> Hi Jérémy,
>
> Quoting Jérémy Lal (2026-05-15 14:48:07)
> > I'm playing with wasm-pack because node-amaro needs it.
> >
> > I watched closely how you're using it in oxigraph package.
> >
> > However, it seems that passing `-- --offline` doesn't work:
> > it's still trying to download missing crates.
> >
> > I tried several things... and discovered this:
> >
> > - to get logs, env RUST_LOG=debug
> > - to stop net access, env CARGO_NET_OFFLINE=true
> >
> > I suppose it's a bug in wasm-pack, or in cargo, and it might affect
> > oxigraph.
>
> Thanks for the bugreport.
>
> It is my impression that wasm-pack is unintuitive, but it is news to me
> that its options cannot be trusted. :-(


>
It seems oxigraph will move away from using wasm-pack, instead carrying
> locally a relatively large python script:
> https://github.com/oxigraph/oxigraph/commit/4181d06
>
> Perhaps that is of use for your use case?
>

Good to know there's a way out ;) Thanks


>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>  * Sponsorship: https://ko-fi.com/drjones
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private

Reply via email to