rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.27k stars 12.71k forks source link

regression: socket type changes #100551

Closed Mark-Simulacrum closed 2 years ago

Mark-Simulacrum commented 2 years ago

Filing this mostly so that we're aware of scope of impact per Crater run and can potentially use this as a landing ground for complaints/concerns (probably should have some issue for that even if not this one, maybe pinned). The scope of impact is pretty depressing, but I don't think the decision by libs-api will change since this isn't new data, so we'll need to clearly communicate it (I believe already planned into release post + notes). It seems likely that we might want to invest in mechanisms to stop future breakage like this (e.g., more strict linting/errors on transmutes of std types).

introduced by PR #78802

Root (compilation) regressions:

Test failures, which are probably caused by broken pointer casting in older tokio/mio/etc (haven't chased down specifically though), leading to InvalidInput / invalid argument from the kernel:

estebank commented 2 years ago

Have we looped in the tokio/mio people already?

Mark-Simulacrum commented 2 years ago

I think this is all from old versions and yes, but it seems like a good idea to re-check-in, especially since bug reports directed at them aren't implausible.

joshtriplett commented 2 years ago

We've discussed this pretty extensively in libs-api, and we're comfortable with this change; we do need a release note here, though.

the8472 commented 2 years ago

The PR is labeled appropriately.