summaryrefslogtreecommitdiff
path: root/etc/defaults/rust/TARGETS
AgeCommit message (Collapse)Author
2024-06-27Update just-import-cargo, update just dependencies, and clean upKlaus T. Aehlig
- With the new naming convention of just-import-cargo, there is no longer the conflict on the file etc/defulta/rust/TARGETS. - With the new version of the upstream rust rules, we can use the defaults target directly, as it fully honors TOOLCHAIN_CONFIG[RUST]. - With that simplification in place, we don't have to point just-import-cargo to rules-rust anymore, as for the default-imported rules, the TOOLCHAIN_CONFIG is honored as well.
2024-06-27Add minimal example using cargoKlaus Aehlig
... including a test (for which we add python3 as test dependency).
2024-06-25Import rust rules and add a minimal exampleKlaus T. Aehlig
Note that the PATH for rust targets also has to include that for the C compiler and hence also coreutils, as the rust compiler calls out to `cc`.