Rocket/core/codegen
Sergio Benitez 30b8a77fc9 Avoid dropping 'Error' inside '#[launch]' future.
Due to tokio-rs/tokio#4780, a panicking top-level future combined with
an uncooperative background task prevents runtime shutdown. To avoid
this in the case of `Rocket::launch()` returning an `Error`, which
panics on drop if it isn't inspected, we return the `Result` to the
caller (i.e., `main`) instead of the `block_on` future. This prevent the
panic from occuring inside of the `block_on` future and so the runtime
terminates even with uncooperative I/O.
2022-06-20 23:49:41 -07:00
..
src Avoid dropping 'Error' inside '#[launch]' future. 2022-06-20 23:49:41 -07:00
tests Update UI tests for latest stable rustc. 2022-05-19 14:16:05 -07:00
Cargo.toml New version: 0.5.0-rc.2. 2022-05-09 06:32:46 -05:00