Commit 7890d06
Prevent tainting native code loading from propagating (JuliaLang#53457)
When we use options like code coverage, we can't use the native code
present in the cache file since it is not instrumented.
PR JuliaLang#52123 introduced the capability of skipping the native
code during loading, but created the issue that subsequent packages
could have an explicit or implicit dependency on the native code.
PR JuliaLang#53439 tainted the current process by setting
`use_sysimage_native_code`, but this flag is propagated to subprocesses
and lead to a regression in test time.
Move this to a process local flag to avoid the regression.
In the future we might be able to change the calling convention for
cross-image calls to `invoke(ci::CodeInstance, args...)` instead of
`ci.fptr(args...)` to handle native code not being present.
---------
Co-authored-by: Jameson Nash <[email protected]>1 parent ef70cf3 commit 7890d06
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3066 | 3066 | | |
3067 | 3067 | | |
3068 | 3068 | | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
3069 | 3074 | | |
3070 | 3075 | | |
3071 | 3076 | | |
| |||
3092 | 3097 | | |
3093 | 3098 | | |
3094 | 3099 | | |
3095 | | - | |
| 3100 | + | |
3096 | 3101 | | |
3097 | 3102 | | |
| 3103 | + | |
3098 | 3104 | | |
3099 | 3105 | | |
3100 | 3106 | | |
| |||
3772 | 3778 | | |
3773 | 3779 | | |
3774 | 3780 | | |
3775 | | - | |
| 3781 | + | |
3776 | 3782 | | |
3777 | 3783 | | |
3778 | 3784 | | |
| |||
0 commit comments