Skip to content

Commit

Permalink
Fix 32-bit runtime download URL
Browse files Browse the repository at this point in the history
  • Loading branch information
filips123 committed Oct 6, 2021
1 parent 871f040 commit e1fe8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/src/components/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn remove_dir_contents<P: AsRef<Path>>(path: P) -> IoResult<()> {
const fn get_download_url() -> &'static str {
cfg_if! {
if #[cfg(all(target_os = "windows", target_arch = "x86"))] {
const OS_AND_ARCHITECTURE: &str = "win32";
const OS_AND_ARCHITECTURE: &str = "win";
} else if #[cfg(all(target_os = "windows", target_arch = "x86_64"))] {
const OS_AND_ARCHITECTURE: &str = "win64";
} else if #[cfg(all(target_os = "windows", target_arch = "aarch64"))] {
Expand Down

0 comments on commit e1fe8f0

Please sign in to comment.