diff --git a/nih_plug_xtask/src/lib.rs b/nih_plug_xtask/src/lib.rs index 65c79344..98d2e0bb 100644 --- a/nih_plug_xtask/src/lib.rs +++ b/nih_plug_xtask/src/lib.rs @@ -55,6 +55,7 @@ pub enum CompilationTarget { pub enum Architecture { X86, X86_64, + RISCV64, // There are also a ton of different 32-bit ARM architectures, we'll just pretend they don't // exist for now AArch64, @@ -590,6 +591,8 @@ fn compilation_target(cross_compile_target: Option<&str>) -> Result String CompilationTarget::Linux(Architecture::X86_64) => { format!("{package}.vst3/Contents/x86_64-linux/{package}.so") } + CompilationTarget::Linux(Architecture::RISCV64) => { + format!("{package}.vst3/Contents/riscv64-linux/{package}.so") + } CompilationTarget::Linux(Architecture::AArch64) => { format!("{package}.vst3/Contents/aarch64-linux/{package}.so") }