-
Notifications
You must be signed in to change notification settings - Fork 22
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
[wip] Darude mods #1
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TY. Can scripts/ and proof.* be removed please? I'd prefer to only have things that go hand in hand with the library.
@@ -42,7 +42,7 @@ pub struct RegisterState { | |||
pub pc: usize, | |||
} | |||
|
|||
pub struct RegisterStates(Vec<RegisterState>); | |||
pub struct RegisterStates(pub Vec<RegisterState>); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The types already implement deref. Is there a need to make this public?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again I should've said WIP. Short-term fix to get this working:
https://github.com/ponderingdemocritus/darude/blob/main/wasm/src/lib.rs#L172-L183
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDK how to use deref to solve it, so just publicised it for now (we don't have to merge it in).
#[cfg(not(target_env = "msvc"))] | ||
#[global_allocator] | ||
static GLOBAL: Jemalloc = Jemalloc; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@andrewmilson sorry forgot to mark as WIP |
No description provided.