-
### Example
```nim
# nim c --gc:arc --debugger:native --cc:clang_cl --debuginfo:on a.nim
proc create(): ref int {.dynlib: "b.dll", importc.}
block:
var x = create()
echo cast[int](x) # che…
-
A custom `--nimbleDir` seems to be ignored when executing a user-defined task.
**Running a pre-defined task:** no packages.json in the newly created nimble directory. This is expected behaviour.
`…
-
Tried with Nim 0.17.3 (head) and 0.17.2 (stable).
```nim
import sph
echo sphHash[SHA256]("hello")
```
```
0x0048c3ce in @sphInit_YOcaykWowV7adm11AQD02Q@0 () at /.nimble/pkgs/sph-0.1.1/sph.…
-
### Description
Program to run: Is it valid to expect that there can be a zero read call? Or should one always guard against it?
```nim
import std/streams as streams
import std/os as os
whe…
-
Have several errors in my arch linux environment, including:
1) could not import cblas_* , while modules exist in libcblas.so
2) /home/username/getting-started/book/numerical_methods/interpolation.…
-
we should allow:
`nimble --nim:pathto/nim_temp test`
should be doable now that nimble doesn't bundle nim anymore?
it avoids choosenim which has global effects (eg can break some other running pro…
-
I get this error when I try using `--incremental:on`
```
Error: the compiler was not built with incremental compilation features; bootstrap with -d:nimIncremental to enable
```
Is there someth…
-
```
Error: unhandled exception: File to import not found or unreadable: spectre/src/spectre.
Parent style sheet: /root/github.com/nim-lang/nimforum/public/css/nimforum.scss [SassExc…
-
### What happened?
Executing `nim c -r test2.nim` for the code below causes a runtime error.
```nim
import std/[streams, exitprocs]
type
Test = ref object of RootObj
strm: Stream
…
-
Following code:
```nim
import limdb
type Foo = object
a: string
let db = initDatabase("db", (int, Foo))
db[1] = Foo(a: "a")
echo db[1]
```
runs without error.
But in next run (without rese…