Quoting Hilko Bengen (2025-02-17 22:17:44)
> * Hilko Bengen:
> 
> > * Jonas Smedegaard:
> >
> >> cranelift-jit requires crate region, which is not in Debian.
> >
> > Just as a heads-up, the package for crate region has been uploaded and
> > is sitting in NEW now.
> 
> It has been ACCEPTED now.

Yes. Thanks!

> There's an internal dependency for cranelift-jit, namely
> crates/wasmtime-jit-icache-coherence. Would it make sense to add
> 
>     dh $@ --sourcedirectory crates/wasmtime-jit-icache-coherence
> 
> to the default target and some lines to override_dh_gencontrol to proide
> cranelift-jit?

That would indeed seem like the intuitive approach from a debhelper
perspective.  Unfortunately, the upstream build system Cargo is tricky
to override for Debian needs (e.g. set compiler optimizations depending
on DEB_* environment flags) and dh-rust currently supports only a single
source directory per source package build (or at least I have never
tried to go beyond that and would be surprised it it works).

What I will do instead is patch upstream source to add a path hint to
the workspace Cargotoml file at cranelift/umbrella.

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

Attachment: signature.asc
Description: signature

Reply via email to