Skip to content

Commit 68eab8e

Browse files
fix: Add target flag (#379)
Co-authored-by: Raz Besaleli <besaleli@mozilla.ai>
1 parent 286ba5b commit 68eab8e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

encoderfile/src/builder/cli/build.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ impl BuildArgs {
6868
}
6969

7070
if let Some(base_binary_path) = &self.base_binary_path {
71-
config.encoderfile.base_binary_path = Some(base_binary_path.to_path_buf())
71+
config.encoderfile.base_binary_path = Some(base_binary_path.to_path_buf());
72+
}
73+
74+
if let Some(platform) = &self.platform {
75+
config.encoderfile.target = Some(platform.clone());
7276
}
7377

7478
super::super::builder::EncoderfileBuilder::new(config)

0 commit comments

Comments
 (0)