gccrs
gccrs copied to clipboard
Unimplemented macro println
I tried this code (error encountered in the wild here), but I have reduced it to a testcase.:
fn main()
{
println!("salutate");
}
I expected to see this happen: The code to compile and run, printing salutate. This code works successfully with rustc greetings.rs
Instead, this happened:
greetings.rs:3:3: error: unknown macro 2: [println]
3 | println!("salutate");
| ^
Meta
I was using version d155a54785cb7b40ada7ae748997d717a4b27ab9.
println! is a macro from the std library.
Since Rust GCC currently can't compile either core or std library. This is currently out of the question.