Skip to content

Commit

Permalink
Merge new process runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
CuppoJava committed Apr 16, 2024
2 parents 64c87ab + 01e1bad commit f5bb5df
Show file tree
Hide file tree
Showing 10 changed files with 662 additions and 606 deletions.
2 changes: 1 addition & 1 deletion ci/build-stanza-version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# like 1.23.45
#
# Use version 0.17.56 to compile 0.18.0
0.18.45
0.18.59
2 changes: 1 addition & 1 deletion compiler/config.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ defn verify-installation () :
catch (e:Exception) :
;Could not retrieve version of the executable.
val msg = "Stanza install directory is set to %_, \
but the version of the Stanza executable could not verified. %_"
but the version of the Stanza executable could not be verified. %_"
throw $ Exception(msg % [STANZA-INSTALL-DIR, e])

;Check that the version string is well-formatted.
Expand Down
1 change: 0 additions & 1 deletion compiler/main.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,6 @@ add-stanza-command(defs-db-command())
;============================================================

public defn stanza-main (commands:Collection<Command>, default-command:String|False) :
initialize-process-launcher()
set-max-heap-size(STANZA-MAX-COMPILER-HEAP-SIZE)
simple-command-line-cli(version-message(), to-tuple(commands), default-command, true)

Expand Down
2 changes: 1 addition & 1 deletion compiler/params.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public defn compiler-flags () :
to-tuple(COMPILE-FLAGS)

;========= Stanza Configuration ========
public val STANZA-VERSION = [0 18 59]
public val STANZA-VERSION = [0 18 60]
public var STANZA-INSTALL-DIR:String = ""
public var OUTPUT-PLATFORM:Symbol = `platform
public var STANZA-PKG-DIRS:List<String> = List()
Expand Down
127 changes: 58 additions & 69 deletions core/core.stanza

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion core/dynamic-library.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public lostanza defn name (dl:ref<DynamicLibrary>) -> ref<String> :
public lostanza defn dynamic-library-open (name: ref<String>) -> ref<DynamicLibrary>:
#if-defined(PLATFORM-OS-X) :
val RTLD_NOW = 0x2
val dlflags = RTLD_NOW
val RTLD_LOCAL = 0x4
val dlflags = RTLD_NOW | RTLD_LOCAL
#if-defined(PLATFORM-LINUX) :
val RTLD_NOW = 0x2
val RTLD_DEEPBIND = 0x8
Expand Down
Loading

0 comments on commit f5bb5df

Please sign in to comment.