Robin Lambertz

Results 388 comments of Robin Lambertz

I'm also getting bit by this a bit. I'm trying to cross-compile BoringSSL from Linux to Windows-MSVC. I have a working toolchain locally, so it should all be fine. But...

> Should issue https://github.com/rust-lang/rust/issues/81408 block this proposed stabilization? It's already possible to hit rust-lang/rust#81408 on stable rust by specifying the rust-lld linker in the `.cargo/config`, so I don't think this...

FWIW, if there's a measurable perf regression, this sounds exactly like the kind of use-cases where [autoref specialization](https://github.com/dtolnay/case-studies/blob/master/autoref-specialization/README.md) could be used to recover the lost perf.

Ideas for attributes to add/replace: pre_assert is a bit of a hacky workaround to allow arbitrary placement of magics. It won't work nicely for a binwrite variant. Ideally, it should...

Such a set would end up growing throughout the life of the SSE. I wrote this with the idea that a user would always either specify the ID himself, or...

> A side thought, is it possible to detect from the cargo-metadata crate if static linking of the CRT is enabled? Unfortunately, no. There are a lot of different ways...

> But a target_feature=crt-static was not listed as a target feature. I think this could be because the crt-static target feature is only enabled and added to the configuration right...

So there isn't any easy way to tell cargo "give me all the variables" (well, I can think of a few hacks, but nothing clean). Here are those we know...

Just a small nit: Determining the host triple isn't the problem (that works pretty well by asking rustc to report its triple). The problem is, it's possible to change the...