-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve compatibility with nimskull (#167)
* project: correct wrong usage of defer `defer` in Nim works at scope level and not function level. By calling `defer` in an `if` like this, the pointer was freed immediately, causing an use-after-free bug, breaking nimph on ARC/ORC. This commit fixes the `defer` declaration, allowing nimph to work on ARC/ORC. * config: migrate away from deprecated multimap The multimap API has been deprecated for quite awhile and nimskull already removed it from tables. This commit switch to Table with seq value as an alternative. * config: support nimskull config parser API Requires nim-works/nimskull#1007 * dependency: rename symbolicMatch iterator Overloading iterator and proc of the same name is currently buggy on NimSkull. Rename symbolicMatch iterator to symbolicMatches to avoid this issue. * treewide: convert group to singular map NimSkull has removed the multimap API, and given that Group was not very clear on whether it's a multimap or singular map centric, let's temporary use singular map and convert back as needed. * bootstrap: update cligen to 2.0.3 This release contains fixes for nimskull
- Loading branch information
Showing
8 changed files
with
70 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,3 @@ | |
# fix nimble? | ||
--path="$config" | ||
--path="$nim" | ||
|
||
# arc exhibits corruption in git | ||
--gc:refc | ||
--define:useMalloc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters