| 1 | [workspace] |
| 2 | members = [".", "afs-as", "afs-ld", "runtime", "bencch/bench-core", "bencch/bench"] |
| 3 | resolver = "2" |
| 4 | |
| 5 | [profile.dev] |
| 6 | # Keep the default debug-friendly profile, but avoid the pathological |
| 7 | # opt-level=0 slowdown when using armfortas itself as the compiler. |
| 8 | opt-level = 1 |
| 9 | |
| 10 | [package] |
| 11 | name = "armfortas" |
| 12 | version = "0.1.0" |
| 13 | edition = "2021" |
| 14 | description = "Bespoke ARM64 Fortran compiler" |
| 15 | |
| 16 | [lib] |
| 17 | name = "armfortas" |
| 18 | path = "src/lib.rs" |
| 19 | |
| 20 | [[bin]] |
| 21 | name = "armfortas" |
| 22 | path = "src/main.rs" |
| 23 | |
| 24 | # `afs` is the short alias. src/bin/afs.rs is a one-line wrapper |
| 25 | # that calls into armfortas::cli_entry() so cargo doesn't warn about |
| 26 | # two bin targets sharing one source path. Sprint 35's `make |
| 27 | # install` may collapse this back to a symlink to save disk. |
| 28 | [[bin]] |
| 29 | name = "afs" |
| 30 | path = "src/bin/afs.rs" |
| 31 | |
| 32 | [dependencies] |
| 33 | afs-as = { path = "afs-as" } |