-
Can't static link OpenSSL on windows
### Used command
```
nim c -d:ssl -p:. --dynlibOverride:ssl --passL:-Lpath/to/openssl/lib --passl:-lcrypto --passl:-lssl -r tssl.nim
```
### Solution
```…
-
### Description
C/C++ backend takes +30 min to compile the below example in release mode. For JS backend it takes 0.5s to compile. It only takes so long in release mode. Debug mode takes 15s. [Orig…
-
### Description
When I define a generic type and a proc with a static range generic parameter and call it,
it always cause type mismatch compile error.
```nim
type
Foo[N: static int] = object…
-
I've tried both ``terminate`` and ``kill``, in both cases the process continues running (even after my program is terminated :/).
``waitForExit`` also has some strange behaviour.
I'm running the…
dom96 updated
6 years ago
-
Type Issues in Windows side of psutil. I assume something changed in winim but I am uncertain.
Linux compiles and runs without issues.
Nim Version
```
nim -v
Nim Compiler Version 1.4.4 [Window…
-
### Title
Depfile
### Abstract
Add a new command-line option (e.g. `--depfile`) for the `nim compile` command. It accepts an argument (output path for a depfile, generated for a given target)…
-
## links
-
testit2:
```nim
proc inTestit2*[T](): T =
var x {.global.} = inTestit[T]()
echo "inTestit2: ", x
x
```
testit:
```nim
import testit2
proc inTestit[T: int](): T =
3 + inTestit2[i…
-
**Test**
```nim
# M1.nim -------------------------
type TypeM1* = object
# M2.nim -------------------------
import M1
var v: seq[ptr[seq[TypeM1]]] # No Error -> var v: seq[ptr[TypeM1]]
# M3.ni…
-
C function: `int sigprocmask(int how, const sigset_t *set, sigset_t *oldset);`
Nim wrapper: `proc sigprocmask*(a1: cint, a2, a3: var Sigset): cint`
The manual page explains how a NULL `oldset` can…