diff --git a/.changes/updater-riscv64.md b/.changes/updater-riscv64.md new file mode 100644 index 00000000..76d7d00d --- /dev/null +++ b/.changes/updater-riscv64.md @@ -0,0 +1,6 @@ +--- +"updater": patch +"updater-js": patch +--- + +Add support to the `riscv64` architecture. diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index 65c91749..1ae2cfe9 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -1223,6 +1223,8 @@ pub(crate) fn get_updater_arch() -> Option<&'static str> { Some("armv7") } else if cfg!(target_arch = "aarch64") { Some("aarch64") + } else if cfg!(target_arch = "riscv64") { + Some("riscv64") } else { None }