Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
There are multiple open issues about problems in this space, and there's one issue (https://github.com/rust-lang/rust/issues/40552) that has team member engagement (and was even reopened by a team member after it was closed by the author!! ) where it's suggested by a team member that an RFC would be required to move forward. That's a pretty strong signal they care!
Oh, I recall this being treated as a bug and not an example to be followed in my rfc: https://github.com/rust-lang/rfcs/pull/2801
Which is why rust-audit scrubs all that info before embedding anything into the binary.
It’s not super well-documented, but there is an option to change this. --remap-path-prefix $(pwd)= in your RUSTFLAGS will usually do the trick. If you have any C dependencies you’ll also need similar things in CFLAGS, see https://github.com/alexcrichton/cc-rs/issues/593