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

Added DLL loading capability in windows to the std lib. #617

Merged
merged 1 commit into from Nov 17, 2017

Conversation

dimenus
Copy link
Contributor

@dimenus dimenus commented Nov 17, 2017

Added DLL loading capability in windows to the std lib.

Will need to revisit this when we solve #534

@dimenus dimenus force-pushed the dll-load branch 3 times, most recently from 8654fb2 to 12835e0 Compare November 17, 2017 00:43
@@ -444,4 +444,18 @@ pub fn addCases(cases: &tests.CompareOutputContext) {

tc
});

cases.add("bad dll name on windows",
Copy link
Member

Choose a reason for hiding this comment

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

can you make this a behavior test? look at test/behavior.zig and test/cases/*

generally we prefer these kind of tests when possible because they run much faster than compare_output tests.

Copy link
Member

Choose a reason for hiding this comment

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

better yet, add this test somewhere in std/ because that's what it's testing.
behavior tests are for language features.

@andrewrk andrewrk merged commit 3e83597 into ziglang:master Nov 17, 2017
@dimenus dimenus deleted the dll-load branch July 17, 2019 16:01
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.

None yet

3 participants