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

Explicitly link ntdll when building test-gfx on Windows #642

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

Kryptos-FR
Copy link
Contributor

@Kryptos-FR Kryptos-FR commented Mar 23, 2023

Following changes introduced by rust-lang/rust#108262

@Kryptos-FR Kryptos-FR requested a review from guusw March 23, 2023 11:51
@Kryptos-FR Kryptos-FR self-assigned this Mar 23, 2023
@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Merging #642 (03372a3) into devel (0dd4f8d) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            devel     #642      +/-   ##
==========================================
- Coverage   80.78%   80.77%   -0.02%     
==========================================
  Files         258      258              
  Lines       32015    32015              
==========================================
- Hits        25863    25859       -4     
- Misses       6152     6156       +4     

see 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sinkingsugar
Copy link
Member

Not happy, rust should fix it, ntdll is not meant to be used directly as it's a private library...

@sinkingsugar
Copy link
Member

wow they really did it, just saw the PR.. super weird... btw it's only for GNU toolchain. so we should at least respect that.

@Kryptos-FR
Copy link
Contributor Author

Kryptos-FR commented Mar 23, 2023

wow they really did it, just saw the PR.. super weird... btw it's only for GNU toolchain. so we should at least respect that.

No it's actually only failing for MSVC. They made it available for gnu and as a side-effect made MSVC fail in our case. Not sure why it only occurs for test-gfx but it looks like it was already included in other places when we build shards libraries.

For instance, we manually add it here:

According to the PR, it is needed with both targets:

@Kryptos-FR Kryptos-FR merged commit e87379f into devel Mar 23, 2023
@Kryptos-FR Kryptos-FR deleted the windows/fix-build branch March 27, 2023 07:48
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