Skip to content

[wip] Darude mods#1

Open
liamzebedee wants to merge 5 commits intoandrewmilson:mainfrom
liamzebedee:mods
Open

[wip] Darude mods#1
liamzebedee wants to merge 5 commits intoandrewmilson:mainfrom
liamzebedee:mods

Conversation

@liamzebedee
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
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.

Comment thread src/binary.rs
}

pub struct RegisterStates(Vec<RegisterState>);
pub struct RegisterStates(pub Vec<RegisterState>);
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 thread src/main.rs Outdated
Comment on lines -23 to -26
#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

@liamzebedee
Copy link
Copy Markdown
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.

3 participants