By the way, is it expected that the following works:
apt -y install rust-src
apt -y install rustc
ls $(rustc --print sysroot)/lib/rustlib/src/rust/library/core/src/lib.rs
but this does not:
apt -y install rustc
apt -y install rust-src
ls $(rustc --print sysroot)/lib/rustl
Thanks!
I see it happened for rustc-1.81, which is great -- will this eventually
apply to the other versioned packages (e.g. rustc-1.82, rustc-1.83...)?
In addition, will this get backported to older Ubuntu releases (i.e. not
just plucky, e.g. oracular and noble)?
--
You received this bug notif
Public bug reported:
Hi,
The following difference between the versioned (`rustc`) and non-
versioned (`rustc-1.80`) packages means that downstream Rust users may
need to tweak build steps for a project if the versioned packages are
used:
$ dpkg -L rust-src | grep rustlib
/usr/lib/rustlib
NoisyCoil (Debian) told me that the version that needs to be picked is
+b3 or higher (after it lands in unstable), or that it can be built on
Ubuntu's infra using Debian's librust-bindgen-dev 0.66.1-11, which has
reached testing.
Thanks NoisyCoil!
--
You received this bug notification because yo
Public bug reported:
Hi,
Ubuntu LTS (24.04)'s `bindgen` is not able to build a kernel with Rust
enabled due to a bug (fixed upstream) in 0.66:
$ bindgen --version --verbose
bindgen 0.66.1
Clang: Ubuntu clang version 18.1.3 (1ubuntu1)
$ make LLVM=1
...
***
*** Rust bi
Public bug reported:
Hi,
Current Ubuntu non-LTS (oracular)'s `bindgen` will run into a kernel
build failure in the future (in a couple weeks, when the new tracepoints
support gets merged):
$ bindgen --version --verbose
bindgen 0.66.1
Clang: Ubuntu clang version 19.1.1 (1ubuntu1)