about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/base/avr_gnu.rs
AgeCommit message (Collapse)AuthorLines
2025-02-19Create a generic AVR target: avr-nonePatryk Wychowaniec-377/+0
This commit removes the `avr-unknown-gnu-atmega328` target and replaces it with a more generic `avr-none` variant that must be specialized with the `-C target-cpu` flag (e.g. `-C target-cpu=atmega328p`).
2025-02-08Rustfmtbjorn3-3/+4
2024-10-02Fix target_env in avr-unknown-gnu-atmega328Mads Marquart-0/+2
The target name itself contains GNU, we should set that in the environment as well.
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+3
2024-09-03Add `warn(unreachable_pub)` to `rustc_target`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-03-10Add metadata to targetsNilstrieb-1/+6
This adds four pieces of metadata to every target: - description - tier - host tools - std This information is currently scattered across target docs and both - not machine readable, making validation harder - sometimes subtly encoding by the table it's in, causing mistakes and making it harder to review changes to the properties By putting it in the compiler, we improve this. Later, we will use this canonical information to generate target documentation from it.
2024-03-05Add a `description` field to target definitionsNilstrieb-0/+1
This is the short description (`64-bit MinGW (Windows 7+)`) including the platform requirements. The reason for doing it like this is that this PR will be quite prone to conflicts whenever targets get added, so it should be as simple as possible to get it merged. Future PRs which migrate targets are scoped to groups of targets, so they will not conflict as they can just touch these. This moves some of the information from the rustc book into the compiler. It cannot be queried yet, that is future work. It is also future work to fill out all the descriptions, which will coincide with the work of moving over existing target docs to the new format.
2023-11-08target: move base specs to spec/baseDavid Wood-0/+368
Signed-off-by: David Wood <david@davidtw.co>