Results 439 comments of Nemo157

> By this do you mean that you have a crate with a dependency on eyre that only targets the stable compiler? Yes, it's unlikely to be useful but this...

Yes, the test passed previously. `proc-macro2` at least I know is using some rustflag parsing to detect `-Zallow-features=` explicitly. Skimming `thiserror`'s `build.rs` it is doing compile-detection for `error_generic_member_access`. The fact...

Ok, there seems to be a bug in the build scripts rerun detection. They don't explicitly tell Cargo that they're dependent on `CARGO_ENCODED_RUSTFLAGS`, so it doesn't rerun them when it...

```patch -#[cfg_attr(any(not(nightly), not(feature = "unstable")), ignore)] +#[cfg_attr(not(nightly), ignore)] ``` works for me too, after cleaning to force a rebuild

I've asked about it on zulip https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Build.20script.20rerun.20on.20environment.20change, I'm still not certain if it's a bug in cargo or the build scripts somehow

Update: it is a bug in cargo https://github.com/rust-lang/cargo/issues/13003

Just to make sure everyone coming here is aware, this is an incompatibility with the new [builtin `async`/`await` support](https://github.com/rust-lang/rust/issues/50547). I would have expected @lnicola's suggestion to work, but maybe there's...

One other consideration is whether users of this API would prefer to handle errors in the pre-async part of the code differently to the async part. Probably not in the...

> Is it about juliex API having a method like block_on so people don't have to import futures::executor::block_on? Yes, it feels weird to run different futures on different executors for...

Thinking about the `Spawn` wrappers idea a little more I wonder if it would be better to have an API like ```rust pub fn run(create: F) -> Fut::Output where Fut:...