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

remove special cases for Main in system image saving #34828

Merged
merged 2 commits into from
Feb 24, 2020
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

usings and all bindings will now be preserved. I think the need for what we were doing is quite obsolete. This makes it easier to set up Main and make system images, since everything will come back exactly as you left it.

Also make Core a top-level module (its parent is itself) instead of setting its parent to Main.

Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

🎉

@JeffBezanson
Copy link
Sponsor Member Author

Ha, this also found a bug in detect_unbound_args on top-level modules.

`usings` and all bindings will now be preserved

make Core a top-level module (its parent is itself) instead of
setting its parent to Main.
src/staticdata.c Outdated Show resolved Hide resolved
Co-Authored-By: Jameson Nash <vtjnash@gmail.com>
@JeffBezanson JeffBezanson merged commit ef0e0f2 into master Feb 24, 2020
@JeffBezanson JeffBezanson deleted the jb/savemain branch February 24, 2020 22:36
@Keno Keno mentioned this pull request Feb 25, 2020
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
`usings` and all bindings will now be preserved

make Core a top-level module (its parent is itself) instead of
setting its parent to Main.
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