1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

hot reload: no -sanitize is needed anymore, -live is now enough on both Linux and MacOS X

* hot reload for GL programs: force the main executable (the shared library loader) to be build with -rdynamic flag, when -live is passed to v compiler.

* hot reload: optimize away a redundant load_so/0 call at the start of the reload_so thread.

* hot code reload for MacOSX requires -flat_namespace flag instead of -rdynamic (on linux).
This commit is contained in:
Delyan Angelov
2019-07-15 18:32:00 +03:00
committed by Alexander Medvednikov
parent 7c6f59afa6
commit 37aff9b107
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// Build this example with
// v -live -sanitize bounce.v
// v -live bounce.v
module main
import gx