-
Notifications
You must be signed in to change notification settings - Fork 8
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
use type declaration for globals on 1.9+ #46
Conversation
Having to change the tests is a good indication this would be a breaking change, no? In #14 we already had to revert similar changes for this reason. |
fab932b
to
be826e5
Compare
Well, that depends on what the test is testing. After all, we change tests in Julia all the time. :). If you can point me to the docs where it says the public API for jlls, we can check. If you want, I can take away the Also, ironically, the tests actually used to be written like this: 32c80b6 |
be826e5
to
1184273
Compare
Lesson learned, function interfaces are better :P |
Yeah, we learnt this the hard way here. Elliot would like to make everything functions, but we still need to keep old variables around. |
@@ -197,6 +203,7 @@ macro generate_main_file_header(src_name) | |||
generate_compiler_options(src_name), | |||
# import Artifacts module | |||
generate_imports(src_name), | |||
global_typeassert_available ? :(global artifact_dir::String) : :() |
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.
This is here just so the global artifact_dir
call in the __init__
function will have a known type.
c3d2651
to
7b0da8a
Compare
I believe this should be non-breaking now. |
Failures on nightly might be genuine? I had restarted the jobs but they're still failing, while #47 is not failing. |
I'm pretty sure I tried this locally on Linux but will check again (tomorrow). |
Codecov Report
@@ Coverage Diff @@
## master #46 +/- ##
==========================================
- Coverage 55.04% 54.05% -1.00%
==========================================
Files 7 7
Lines 218 222 +4
==========================================
Hits 120 120
- Misses 98 102 +4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Seems ok now, or? |
Segfault on aarch64 with 1.8 (so relevant for this PR) looks reproducible (restarted the job twice):
😢 |
But it passes on nightly (where it is also active)...? |
Let's go 1.9+ then if ARM is buggy on 1.8. |
Fixes #39