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

Include SDC GC #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Include SDC GC #2

wants to merge 9 commits into from

Conversation

kinke
Copy link
Collaborator

@kinke kinke commented Nov 14, 2024

No description provided.

@kinke kinke force-pushed the newgc branch 6 times, most recently from e386a30 to 4617e35 Compare November 14, 2024 20:16
@kinke
Copy link
Collaborator Author

kinke commented Nov 14, 2024

Alright, the install package seems fine. The new GC is opt-in via e.g. --DRT-gcopt=gc:sdc:

$ cat hello.d
void main() {
    import std.stdio;
    writeln("Hello world!");
    auto dummyAlloc = new int; // drag in the GC
}
$ dmd hello.d
$ ./hello
Hello world!
$ ./hello --DRT-gcopt=gc:sdc
Hello world!
using SDC GC!

@kinke
Copy link
Collaborator Author

kinke commented Nov 14, 2024

Tagged: https://github.com/symmetryinvestments/dmd-umbrella/releases/tag/v2.110.0-sym3-newgc1

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