This is the initial version 1 patch set for the Rust front-end. There are more changes that need to be extracted out for all the target hooks we have implemented. The goal is to see if we are implementing the target hooks information for x86 and arm. We have more patches for the other targets I can add in here but they all follow the pattern established here.
Each patch is buildable on its own and rebased ontop of 718cf8d0bd32689192200d2156722167fd21a647. As for ensuring we keep attribution for all the patches we have received in the front-end should we create a CONTRIBUTOR's file inside the front-end folder? Note thanks to Thomas Schwinge and Mark Wielaard, we are keeping a branch up to date with our code on: https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/devel/rust/master but this is not rebased ontop of gcc head. Let me know if I have sent these patches correctly or not, this is a learning experience with git send-email. [PATCH Rust front-end v1 1/4] Add skeleton Rust front-end folder [PATCH Rust front-end v1 2/4] Add Rust lang TargetHooks for i386 and [PATCH Rust front-end v1 3/4] Add Rust target hooks to ARM [PATCH Rust front-end v1 4/4] Add Rust front-end and associated