[backport 1.0] add backend support for js bigint (#16606)

* add backend support for js bigint

* cleanup

* add tests

* add -d:nimHasJsBigIntBackend

* cleanup

* more tests
This commit is contained in:
Timothee Cour 2021-01-06 11:28:24 -08:00 • committed by GitHub
commit 025ca660f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 63 additions and 1 deletions

View file

@ -123,3 +123,4 @@ proc initDefines*(symbols: StringTableRef) =
defineSymbol("nimHasEffectTraitsModule")
defineSymbol("nimHasCastPragmaBlocks")
defineSymbol("nimHasDeclaredLocs")
defineSymbol("nimHasJsBigIntBackend")