[Pkg-rust-maintainers] Bug#1043311: rustc: please enable profiler builtin

Andres Salomon dilinger at queued.net
Tue Aug 8 23:22:28 BST 2023


Package: src:rustc
Version: 1.66.0+dfsg1-1
Severity: wishlist

Chromium's new rust build requirements include the need for 
/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libprofiler_builtins-*.rlib. 
It would be really helpful to have this built into Debian's rust 
packages.

Ubuntu apparently enabled it, and you can see their patch here:
<https://git.launchpad.net/~canonical-foundations/ubuntu/+source/rustc/commit/?id=2a926a400334303921a379328cf3fcbbfc247f90>

However, that didn't work for me, at least not with the default of 
BUILD_WINDOWS=true in rustc's current debian/rules. The build involving 
--target $(WINDOWS_ARCH)-pc-windows-gnu  requires 
libclang-rt-15-dev-wasm64 and some extra logic. I'm currently working 
on an updated patch now.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20230808/c014b8a4/attachment.htm>


More information about the Pkg-rust-maintainers mailing list