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

[wip] Darude mods #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

liamzebedee
Copy link

No description provided.

Copy link
Owner

@andrewmilson andrewmilson left a 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>);
Copy link
Owner

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?

Copy link
Author

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

Copy link
Author

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).

Comment on lines -23 to -26
#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@liamzebedee
Copy link
Author

@andrewmilson sorry forgot to mark as WIP

@liamzebedee liamzebedee changed the title Darude mods [wip] Darude mods Jan 13, 2023
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.

None yet

3 participants