Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #82270
| From | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> |
|---|---|
| Newsgroups | linux.debian.kernel |
| Subject | Rust for Linux and host-only libraries |
| Date | 2024-04-19 19:30 +0200 |
| Message-ID | <Iv0dH-7pRK-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi Ximin, Sylvestre, Fabian, all, In Rust for Linux, we are considering using host-only/userspace Rust libraries (e.g. `syn`), and we were asked to check whether it would be possible to just pick them from the distribution (since, in principle, they don't require kernel-specific changes). What is the policy in Debian for those? I was told about `debcargo-conf` by Zixing Liu, and indeed I can see e.g. `syn` there in `librust-syn-dev`, which places the sources at `/usr/share/cargo/registry/`, which is great for what we need. Is that correct? This would be useful for kernel developers that do not trust third-party repositories (not even Rust's/crates.io/the upstream repository). By the way, is there a way to query where the sources are (i.e. that path) in a "standard" way (e.g. like `pkg-config`)? Or, at least, can we assume it should be stable? (e.g. for automated detection and/or instructions we may want to provide). Thanks! Cheers, Miguel
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Rust for Linux and host-only libraries Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2024-04-19 19:30 +0200
Re: Rust for Linux and host-only libraries Fabian Grünbichler <debian@fabian.gruenbichler.email> - 2024-04-19 20:40 +0200
Re: Rust for Linux and host-only libraries Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2024-04-19 21:10 +0200
Re: Rust for Linux and host-only libraries Fabian Grünbichler <debian@fabian.gruenbichler.email> - 2024-04-19 23:00 +0200
Re: Rust for Linux and host-only libraries Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> - 2024-04-20 12:40 +0200
csiph-web