- adding _actual as a suffix only for calls to an actual proc and not through a global function pointer - fixes https://github.com/nim-lang/Nim/issues/11996 (#12007)
- adding forward declarations for reloadable functions within a module - fix compilation errors when 2 such functions reference each other - fixes https://github.com/nim-lang/Nim/issues/11608 - preserve permissions of copied executable binaries
This commit is contained in:
parent
547fcd69c3
commit
f2e8c39e85
4 changed files with 11 additions and 6 deletions
|
|
@ -421,7 +421,7 @@ when defined(createNimHcr):
|
|||
modules.add(name, newModuleDesc())
|
||||
|
||||
let copiedName = name & ".copy." & dllExt
|
||||
copyFile(name, copiedName)
|
||||
copyFileWithPermissions(name, copiedName)
|
||||
|
||||
let lib = loadLib(copiedName)
|
||||
assert lib != nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue