mirror of
https://github.com/doukutsu-rs/rust-hos.git
synced 2026-08-24 13:18:34 -07:00
Port `#[instruction_set]` to attribute parser Please note the test changes, and deprecation of `E0778` and `E0779` In my opinion, all errors related to this attribute are improved I think, except for if you have `#[instruction_set(arm::)]` in which case there's an `error: expected identifier, found <eof>`, which is quite unhelpful I think, but this seems to be a limitation of the general attribute parsing flow r? `@JonathanBrouwer`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.