Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix: Fix memory issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Oct 21, 2023
1 parent f401604 commit 68525fe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.1.1

#### 🐞 Fixes

- Potentially fixed a WASM memory issue.

## 0.1.0

#### 🚀 Updates
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "python_plugin"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
publish = false
Expand Down
5 changes: 2 additions & 3 deletions src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ pub fn download_prebuilt(
return err!(PluginError::UnsupportedCanary { tool: NAME.into() }.into());
}

let releases: HashMap<String, HashMap<String, ReleaseEntry>> = fetch_url_with_cache(
"https://raw.githubusercontent.com/moonrepo/python-plugin/master/releases.json",
)?;
let releases: HashMap<String, HashMap<String, ReleaseEntry>> =
fetch_url("https://raw.githubusercontent.com/moonrepo/python-plugin/master/releases.json")?;

let Some(release_triples) = releases.get(&version) else {
return err!("No pre-built available for version {}!", version);
Expand Down

0 comments on commit 68525fe

Please sign in to comment.