-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Concept] : [Erust] : Rust WASM Embed #510
Comments
Test Casing the proc macros: #[cfg(test)]
mod tests {
use super::*;
// Define TestStruct with both Getters and Setters macros from Holy.
// This test does not yet support attributes, that is on my TODO list.
#[derive(Getters, Setters)]
struct TestStruct {
field: i32,
}
#[test]
fn test_arithmetic_and_setters_getters() {
// Perform a mEth operation.
let arithmetic_result = 2 + 2;
assert_eq!(arithmetic_result, 4, "Basic arithmetic failed");
// Create an instance of TestStruct
let mut instance = TestStruct { field: 0 };
// Use the setter method to set the value
instance.set_field(arithmetic_result);
// Use the getter method to check the value
assert_eq!(instance.field(), arithmetic_result, "Setter or Getter method failed");
}
} |
1st set of nx commands would be to setup the Nx Trunk WASM build process and any files that would be needed. This way we can split up the build process but still maintain some level of checks + balances. |
The WASM Embed now deploys to the HerbMail and KBVE! I will be moving it off of HerbMail within the next couple weeks, as we transition the WASM code into a KBVE tool. This would then free up the herbmail.com domain, so we can finally open the herb tea shop! Yay! |
The WASM seems to be bugged out on the website
We might have to look into the way the hash and how the integrity is working. |
Current progress on the theme can be found here on this issue ticket -> emilk/egui#3284 |
Note: After the update to the serialization inside the laser package, the next step would be to build out and test the Vec && Uint8Array using the ERust library and this wasm application. This would be our loop around to a problem that took nearly 8 months to resolve xD |
Core Concept/Theory
A clear and concise description of what the concept is. Ex. It would be cool if [...]
This issue ticket is to keep track of the
erust
crate and the application,rust-wasm-embed
, which will be built upon theerust
crate.The core idea of this application would be to have a cross-platform WASM as a proof of concept and further learn more using
egui
/ front-end frameworks within Rust.Test Cases:
Current Problems:
erust
- Migrating the states out ofapplicationstate.rs
and into a nested state structure, with concurrency.rust-wasm-embed
- Build the application and pull request the files intokbve.com/public/embed/rust-wasm-embed
for distribution / test casing.Alternative Ideas
Is there any other way this concept could be used?
As of right now, there is not major alternative ideas.
I was floating around the concept of extending the WASM out into an expo component? But that might have to be something further down the line.
Alternative Examples/Sources
Are there any other references that you can provide?
No examples as of right now, but I will use this issue ticket to keep track of it.
Additional information
Add any other context or examples of this concept here.
The
erust
crate has been released onto crates.io.The text was updated successfully, but these errors were encountered: