cargo-gccrs icon indicating copy to clipboard operation
cargo-gccrs copied to clipboard

Use -frust-crate=

Open CohenArthur opened this issue 4 years ago • 2 comments

Since https://github.com/Rust-GCC/gccrs/pull/788 was merged, we can now set the crate name in gccrs via the cargo wrapper

CohenArthur avatar Nov 03 '21 08:11 CohenArthur

Hi @CohenArthur , will be nice to have doc on how to contribute to pick these first issues.

Taym95 avatar Feb 08 '23 09:02 Taym95

Yeah sorry about that @Taym95 the project isn't really finished yet :) for this, you'll need to look at the args.rs file and understand how we structure GCC args vs rustc args. One of the steps will be to add handling for --crate-name and "translate" that to -frust-crate for the gccrs arguments.

CohenArthur avatar Feb 08 '23 10:02 CohenArthur