Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use (or install) WasmEdge in the app-specific data directory *ONLY* #205

Merged

Conversation

kevinaboos
Copy link
Contributor

Relying on the system-wide installation has myriad problems; this avoids those many problems entirely by only checking the app's data directory for a WasmEdge installation and installing WasmEdge there if it is missing, which guarantees that the specific version and build characteristics of the WasmEdge installation is always under the sole control of Moxin.

As a side note, I'm not sure why there are so many tiny version changes to the Cargo.lock file. It seems like every time i build the Moxin workspace on a different host OS, there are tons of minor version changes. Shouldn't hurt anything, but it seems odd.

Relying on the system-wide installation has myriad problems;
this avoids those many problems entirely by only checking
the app's data directory for a WasmEdge installation and
installing WasmEdge there if it is missing, which guarantees
that the specific version and build characteristics of the
WasmEdge installation is always under the sole control of Moxin.
@kevinaboos
Copy link
Contributor Author

kevinaboos commented Aug 7, 2024

tested and working on macOS. Linux and Windows still pending. working now

@kevinaboos kevinaboos marked this pull request as draft August 7, 2024 19:52
@kevinaboos kevinaboos changed the title Use or install WasmEdge to the app-specific data directory Use (or install) WasmEdge in the app-specific data directory *ONLY* Aug 7, 2024
@kevinaboos
Copy link
Contributor Author

tested working on Linux

@kevinaboos kevinaboos marked this pull request as ready for review August 7, 2024 20:58
@kevinaboos
Copy link
Contributor Author

ready to be merged

@jmbejar jmbejar merged commit e11e657 into moxin-org:dev Aug 7, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants