gccrs
gccrs copied to clipboard
GCC Front-End for Rust
I tried this code: ```rust #[lang = "copy"] trait Copy {} #[lang = "clone"] trait Clone { fn clone(&self) -> Self; } #[derive(Copy, Clone)] struct Empty; ``` I expected to...
This is causing noise for users since I can't write shell properly. Bugzilla report here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453 (with a proposed patch, waiting for an answer from Sam)
I tried this code: ```rust #[lang = "sized"] trait Sized {} enum Result { Ok(T), Err(E), } pub struct Layout { // size of the requested block of memory, measured...
I tried this code: ```rust enum Res { OK, BAD, } enum LOption { Some(i32), None, } fn test(v: LOption) -> Res { return Res::BAD; } fn main() -> i32...
This should allow us to more easily test and record progress on name resolution 2.0
`#[may_dangle]` attributes should not be used from safe impl. https://godbolt.org/z/6eKe5sKdo
Added `location` field to BIR::Statement and BIR::Place, updated the BIR builders to take the source location from HIR and pass it to BIR node.