|
2 | 2 | default-members = [ |
3 | 3 | "ristretto_classfile", |
4 | 4 | "ristretto_classloader", |
| 5 | + "ristretto_cli", |
| 6 | + "ristretto_vm", |
5 | 7 | ] |
6 | 8 | members = [ |
7 | 9 | "examples/*", |
8 | 10 | "ristretto_classfile", |
9 | | - "ristretto_classloader", "ristretto_cli", |
| 11 | + "ristretto_classloader", |
| 12 | + "ristretto_cli", |
10 | 13 | "ristretto_vm", |
11 | 14 | ] |
12 | 15 | resolver = "2" |
@@ -50,36 +53,39 @@ shared-version = true |
50 | 53 | dependent-version = "upgrade" |
51 | 54 | tag-name = "v{{version}}" |
52 | 55 |
|
| 56 | +[profile.release] |
| 57 | +codegen-units = 1 |
| 58 | +lto = true |
| 59 | +opt-level = "z" |
| 60 | +panic = "abort" |
| 61 | + |
| 62 | +# The profile that 'cargo dist' will build with |
| 63 | +[profile.dist] |
| 64 | +inherits = "release" |
| 65 | +lto = "thin" |
| 66 | + |
53 | 67 | # Config for 'cargo dist' |
54 | 68 | [workspace.metadata.dist] |
55 | 69 | # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) |
56 | 70 | cargo-dist-version = "0.22.1" |
57 | 71 | # CI backends to support |
58 | 72 | ci = "github" |
| 73 | +# Path that installers should place binaries in |
| 74 | +install-path = "CARGO_HOME" |
| 75 | +# Whether to install an updater program |
| 76 | +install-updater = true |
59 | 77 | # The installers to generate for each app |
60 | 78 | installers = ["shell", "powershell", "homebrew", "msi"] |
61 | 79 | # Post-announce jobs to run in CI |
62 | 80 | post-announce-jobs = ["./release-post-announce"] |
| 81 | +# Which actions to run on pull requests |
| 82 | +pr-run-mode = "upload" |
| 83 | +# Publish jobs to run in CI |
| 84 | +publish-jobs = ["homebrew"] |
63 | 85 | # A GitHub repo to push Homebrew formulas to |
64 | 86 | tap = "theseus-rs/homebrew-tap" |
65 | 87 | # Target platforms to build apps for (Rust target-triple syntax) |
66 | 88 | targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] |
67 | | -# Path that installers should place binaries in |
68 | | -install-path = "CARGO_HOME" |
69 | | -# Publish jobs to run in CI |
70 | | -publish-jobs = ["homebrew"] |
71 | | -# Which actions to run on pull requests |
72 | | -pr-run-mode = "upload" |
73 | | -# Whether to install an updater program |
74 | | -install-updater = true |
75 | 89 |
|
76 | | -[profile.release] |
77 | | -codegen-units = 1 |
78 | | -lto = true |
79 | | -opt-level = "z" |
80 | | -panic = "abort" |
81 | | - |
82 | | -# The profile that 'cargo dist' will build with |
83 | | -[profile.dist] |
84 | | -inherits = "release" |
85 | | -lto = "thin" |
| 90 | +[workspace.metadata.dist.github-custom-runners] |
| 91 | +aarch64-apple-darwin = "macos-14" |
0 commit comments