-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add glibcxx_assertion check #3138
Conversation
90e23b4
to
2f4d12d
Compare
will try again tmr |
2f4d12d
to
bbaffc2
Compare
fixed by adding a boolean check of binder.empty() |
ChangeLog: * .github/workflows/ccpp.yml: Add glibcxx_assertion check * .github/glibcxx_ubuntu64b_log_expected_warnings: New file.
gcc/rust/ChangeLog: * typecheck/rust-hir-type-check.h: Add pop guard for binder
bbaffc2
to
a74de7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
cd gccrs-build | ||
< log grep 'warning: ' | sort > log_warnings | ||
if diff -U0 ../.github/glibcxx_ubuntu64b_log_expected_warnings log_warnings; then | ||
: | ||
else | ||
echo 'See <https://github.com/Rust-GCC/gccrs/pull/1026>.' | ||
exit 1 | ||
fi >&2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so do we need a different expected warnings file? are there more warnings when GLIBCXX_ASSERTIONS
is defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default ubuntu 64 bit has a few more warnings than when we run it with GLIBCXX_ASSERTIONS, thus triggering failure when CI is run. Should we use a different diff at line 150?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, that's completely fine - I wasn't aware that using the define would result in more warnings, and I thought the two files would end up the same, but if that's not the case then this one is needed
ChangeLog: