Skip to content

Commit 3da90bb

Browse files
committed
Disallow building unless fixed rst parser is available.
1 parent c87805e commit 3da90bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/forum.nim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ import frontend/[
2323

2424
from htmlgen import tr, th, td, span, input
2525

26+
when not declared(roSandboxDisabled):
27+
{.error: "Your Nim version is vulnerable to a CVE. Upgrade it.".}
28+
2629
type
2730
TCrud = enum crCreate, crRead, crUpdate, crDelete
2831

0 commit comments

Comments
 (0)