Enabled SSL support by default when compiling.
h3rald h3rald@h3rald.com
Sat, 28 Oct 2023 14:37:35 +0200
5 files changed,
13 insertions(+),
17 deletions(-)
M
min.nims
→
min.nims
@@ -12,6 +12,9 @@ switch("opt", "size")
switch("mm", "refc") switch("threadAnalysis", "off") +when not defined(nossl): + switch("define", "ssl") + when not defined(dev): switch("define", "release")@@ -19,13 +22,14 @@ if findExe("musl-gcc") != "":
switch("gcc.exe", "musl-gcc") switch("gcc.linkerexe", "musl-gcc") -when defined(windows): +when defined(windows): switch("dynlibOverride", "pcre64") else: switch("dynlibOverride", "pcre") when defined(ssl): - when defined(windows): + switch("define", "useOpenSsl3") + when defined(windows): # TODO", change once issue nim#15220 is resolved switch("define", "noOpenSSLHacks") switch("define", "sslVersion:(")
M
next-release.md
→
next-release.md
@@ -1,18 +1,10 @@
### BREAKING CHANGES -* The `-c` option has been removed, use `min compile <file>.min` to compile a min file. -* The `-e` option has been removed, use `min eval <string>` to evaluate a string as a min program. +* SSL is now enabled by default when installing via nimble and when compiling by default. Use `-d:nossl` to disable. -### New Features -* Added support for binary (0b) octal (0o), and hexadecimal (0x) integers in parser. -* Added `base` and `base?` symbols to set and get the current number base (dec, hex, bin or oct). -* Added `bitparity`, `bitclear`, `bitflip`, `bitset`, symbols for biwise operations. -* Added `to-(hex|bin|dec|oct)` and `from-(hex|bin|dec|oct)` symbols to convert integers to and from different string representations. -* Added `help`, `compile` and `eval` commands to the min executable. +### New Features ### Fixes and Improvements -* Now requiring `checksums` unless OpenSSL is used. -* Prepended `std/` to standard library modules. -* REPL tab-completions are now sorted alphabetically. +
M
site/contents/get-started.md
→
site/contents/get-started.md
@@ -45,7 +45,7 @@ > %tip%
> > Alternatively, if you can also opt out from OpenSSL and PCRE support by: > -> * _Not_ specifying `-d:ssl` +> * Specifying `-d:nossl` > * Specifying `-d:nopcre` ### Additional build options
M
site/settings.json
→
site/settings.json
@@ -6,5 +6,5 @@ "rules": "rules.min",
"temp": "temp", "templates": "templates", "title": "min language", - "version": "0.40.0" + "version": "0.41.0" }