These are chat archives for rust-lang/rust
cargo build. Specifically I'd like to know if the package's name or other fields in Cargo.toml are sent because I'm working on a client project and would need to use a codename if the name field is uploaded
&[u8]slice. Unfortunately because of the splicing I need to do in the method, I end up having to instantiate a Vec<u8> to put together the data that goes in the slice, and I am getting the
returns a value referencing data owned by the current functionerror. What is the general workaround for this?
&[u8]unless you're sure all implementations are okay with that.
-> &[u8]doesn't allow you to smoosh together things to create a new bunch of bytes where there was none before.