diff options
author | metagn <metagngn@gmail.com> | 2024-09-19 01:35:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 00:35:29 +0200 |
commit | 6cc50ec3163c79b120bf17e32810946bad6b3893 (patch) | |
tree | 80feb915978de329898be8660edc20fc9f90f18e /compiler/sighashes.nim | |
parent | 58cf62451d144d9fd5438f1798e7dfb3423f373f (diff) | |
download | Nim-6cc50ec3163c79b120bf17e32810946bad6b3893.tar.gz |
fix system for nimscript config files on js backend (#24135)
fixes #21441 When compiling for JS, nimscript config files have both `defined(js)` and `defined(nimscript)` be true at the same time. This is required so that the nimscript config file knows the current compilation is for the JS backend. However the system module doesn't account for this in some cases, defining JS-specific code or not defining nimscript-specific code when compiling such nimscript files. To fix this, have the `nimscript` define take priority over the `js` one.
Diffstat (limited to 'compiler/sighashes.nim')
0 files changed, 0 insertions, 0 deletions