Closed
Description
rustc -C help
says
-C target-cpu=val -- select target processor (llc -mcpu=help for details)
-C target-feature=val -- target specific attributes (llc -mattr=help for details)
-C relocation-model=val -- choose the relocation model to use (llc -relocation-model for details)
-C code-model=val -- choose the code model to use (llc -code-model for details)
Everytime I need to find the right strings to pass these flags I groan - I have to go find some copy of llc - Rust doesn't provide it - and hope it corresponds reasonably to my rustc. This is somewhere between annoying and useless to end users. rustc should have a way itself to emit this information.
Probably should have --print target-cpus
etc arguments.