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 the Program type to be used as a singleton #945

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

dfellis
Copy link
Member

@dfellis dfellis commented Nov 1, 2024

Also make the environment frozen for the program on startup, which allows the test suite to run "normally" (multithreaded) because it doesn't depend on the single-threaded env type anymore.

This is in preparation for allowing imports of other source files to finally work.

@dfellis dfellis self-assigned this Nov 1, 2024
@dfellis
Copy link
Member Author

dfellis commented Nov 1, 2024

Oh, and I bumped the version of Rust I'm using here to at least 1.80.0, so I need to update Rust on all of my test runners before tests will pass.

alan/src/main.rs Fixed Show fixed Hide fixed
alan/src/program/program.rs Fixed Show fixed Hide fixed
alan/src/program/program.rs Fixed Show fixed Hide fixed
alan/src/program/program.rs Fixed Show fixed Hide fixed
alan/src/program/program.rs Fixed Show fixed Hide fixed
alan/src/program/program.rs Fixed Show fixed Hide fixed
alan/src/program/program.rs Fixed Show fixed Hide fixed
@dfellis dfellis merged commit 7f1639d into main Nov 1, 2024
13 checks passed
@dfellis dfellis deleted the program-singleton-refactor branch November 1, 2024 05:11
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.

1 participant