<div id="geary-body" dir="auto"><div>Package: src:rustc</div><div>Version: 1.66.0+dfsg1-1</div><div>Severity: wishlist</div><div><br></div><div>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.</div><div><br></div><div>Ubuntu apparently enabled it, and you can see their patch here:</div><div><a href="https://git.launchpad.net/~canonical-foundations/ubuntu/+source/rustc/commit/?id=2a926a400334303921a379328cf3fcbbfc247f90">https://git.launchpad.net/~canonical-foundations/ubuntu/+source/rustc/commit/?id=2a926a400334303921a379328cf3fcbbfc247f90</a></div><div><br></div><div>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.</div><div><br></div><div><br></div><div><br></div></div>