Fix daedalus (#5064)

* Support default-user-jvm arguments type

* Use this branch's container

* Allow no rules in Ruled argument variant

* Run main
This commit is contained in:
François-Xavier Talbot
2026-01-07 20:43:47 -05:00
committed by GitHub
parent 14d227a1a3
commit a1d9268d00

View File

@@ -454,6 +454,7 @@ pub enum Argument {
/// An argument which is only applied if certain conditions are met
Ruled {
/// The rules deciding whether the argument(s) is used or not
#[serde(default)]
rules: Vec<Rule>,
/// The container of the argument(s) that should be applied accordingly
value: ArgumentValue,
@@ -461,13 +462,15 @@ pub enum Argument {
}
#[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Hash, Clone, Copy)]
#[serde(rename_all = "snake_case")]
#[serde(rename_all = "kebab-case")]
/// The type of argument
pub enum ArgumentType {
/// The argument is passed to the game
Game,
/// The argument is passed to the JVM
Jvm,
/// Passed to JVM as well. Includes default arguments to the GC.
DefaultUserJvm,
}
#[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Hash)]