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

refactor: split/reorganize files #72

Merged
merged 5 commits into from
Feb 29, 2024
Merged

refactor: split/reorganize files #72

merged 5 commits into from
Feb 29, 2024

Conversation

tjjfvi
Copy link
Contributor

@tjjfvi tjjfvi commented Feb 28, 2024

Breaks up the monolithic files for easier navigation.

src/run.rs Show resolved Hide resolved

impl Heap {
/// Allocate an area for the net's heap with a given size.
pub fn new(size: usize) -> Box<Heap> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Removing Net::init_heap is a backwards-incompatible change; we are going to have to coordinate with the lang team, because I'm pretty sure they use it somewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, there are a few breaking changes to the API here.

Now that the circular dependency is removed, I don't think it needs to be coördinated very much; they can simply update hvm-core once they're ready.

src/run/linker.rs Show resolved Hide resolved
@tjjfvi tjjfvi mentioned this pull request Feb 29, 2024
@tjjfvi tjjfvi enabled auto-merge February 29, 2024 15:28
@tjjfvi tjjfvi added this pull request to the merge queue Feb 29, 2024
Merged via the queue into main with commit 0433f52 Feb 29, 2024
5 checks passed
@tjjfvi tjjfvi deleted the reorg branch February 29, 2024 15:35
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