rust
rust copied to clipboard
Empowering everyone to build reliable and efficient software.
### Problem As described in this closed issue: https://github.com/rust-lang/cargo/issues/1732, there is no output (e.g. stdout) printed from doctests ran through cargo (e.g. `cargo test --doc -- --nocapture`) even when explicitly...
Part of https://github.com/rust-lang/rust/issues/135543. Follow-up of rust-lang/rust#136264. When working on https://github.com/rust-lang/rust/pull/142098, I realized that `i128` and `u128` could also benefit from the `ToString` specialization so here it. The last commit is...
r? @oli-obk This PR: - creates a new parser for inline attributes - creates consistent error messages and error codes between attribute parsers; inline and others - as such changes...
Over in #44930, @folkertdev [proposed](https://github.com/rust-lang/rust/issues/44930#issuecomment-2902519131): > We need `c_variadics` on stable for zlib-rs, so I'm going to try and move this forward. A draft for a modified API is at...
Adds autogenerated compiler flag stubs to the unstable book by building rustc, passing it's path to `unstable-book-gen`, and using that to call the compiler with `-Zhelp` and create a similar...
Resolves https://github.com/rust-lang/project-stable-mir/issues/93 * Added `Discr` struct to stable mir as stable version of struct with same name * Added `discriminant_for_variant` method to `AdtDef` and `CoroutineDef`
r? @oli-obk I'm afraid we'll get quite a few of these PRs in the future. If we get a lot of trivial changes I'll start merging multiple into one PR....
Revival of https://github.com/rust-lang/rust/pull/131077, to check CI times now that we don't do PGO/BOLT anymore on Linux `-alt` builds. r? @ghost try-job: dist-x86_64-msvc-alt try-job: dist-x86_64-linux-alt
This PR handles a issue that cygwin actually supports Win32 path, so we need to handle the Win32 prefix and separaters. r? @mati865 cc @jeremyd2019 ~~Not sure if I should...