Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How does @inline actually work?

$
0
0

The compiler has an internal experimental flag -bs-cross-module-opt which is off by default.
I think it leads to some errors in some cases but you could try to add

  "bsc-flags": [
    "-bs-cross-module-opt"
  ]

in your rescript.json


Viewing all articles
Browse latest Browse all 2592

Trending Articles