Now printing os/cpu in help.
h3rald h3rald@h3rald.com
Mon, 25 May 2026 06:58:05 +0200
3 files changed,
9 insertions(+),
3 deletions(-)
M
min.nim
→
min.nim
@@ -151,7 +151,8 @@ error getCurrentExceptionMsg()
debug getCurrentException().getStackTrace() terminate(10) - let usage* = """ $exe v$version - a small but practical concatenative programming language + let usage* = """ $exe v$version [$os $arch] + a small but practical concatenative programming language (c) 2014-$year Fabio Cevasco Usage:@@ -190,6 +191,8 @@ -r, --registry:<url> If specified, uses the specified url as MMM registry
-v, —-version Print the program version""" % [ "exe", pkgName, "version", pkgVersion, + "os", hostOS, + "arch", hostCPU, "year", $(now().year) ]
M
minpkg/lib/min_crypto.nim
→
minpkg/lib/min_crypto.nim
@@ -1,7 +1,6 @@
import std/[base64, strutils, - os, times] import ../vendor/aes/aes@@ -10,6 +9,8 @@ ../core/parser,
../core/value, ../core/interpreter, ../core/utils +when defined(static): + import os {.compile: "../vendor/aes/libaes.c".}
M
minpkg/lib/min_http.nim
→
minpkg/lib/min_http.nim
@@ -4,7 +4,6 @@ asynchttpserver,
asyncdispatch, strutils, uri, - os, critbits] import ../core/parser,@@ -12,6 +11,9 @@ ../core/meta,
../core/value, ../core/interpreter, ../core/utils + +when defined(static): + import os when defined(ssl) and defined(static): when defined(amd64):