[CI] now enables NIM_COMPILE_TO_CPP=true to run without allow_failures (#10315)
* better fix for `nim cpp` bootstrap error: error: no member named raise_id * [CI] now enables runs NIM_COMPILE_TO_CPP=true without allow_failures * workaround refs #10343
This commit is contained in:
parent
15584879b9
commit
42bac52426
4 changed files with 24 additions and 11 deletions
|
|
@ -569,7 +569,12 @@ type
|
|||
trace: string
|
||||
else:
|
||||
trace: seq[StackTraceEntry]
|
||||
raiseId: uint # set when exception is raised
|
||||
when defined(nimBoostrapCsources0_19_0):
|
||||
# see #10315, bootstrap with `nim cpp` from csources gave error:
|
||||
# error: no member named 'raise_id' in 'Exception'
|
||||
raise_id: uint # set when exception is raised
|
||||
else:
|
||||
raiseId: uint # set when exception is raised
|
||||
up: ref Exception # used for stacking exceptions. Not exported!
|
||||
|
||||
Defect* = object of Exception ## \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue