Fail quickly if re or nre module is attempted to be compiled with js [backport] (#14341)
Fixes https://github.com/nim-lang/Nim/issues/14338 .
This commit is contained in:
parent
5fb40af57e
commit
a2a3fa1039
2 changed files with 6 additions and 1 deletions
|
|
@ -6,6 +6,9 @@
|
|||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
when defined(js):
|
||||
{.error: "This library needs to be compiled with a c-like backend, and depends on PCRE.".}
|
||||
|
||||
## What is NRE?
|
||||
## ============
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue