mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 21:43:33 +00:00
renamed: lib/std/private/vmutils.nim -> lib/std/private/bitops_utils.nim to avoid confusion with unrelated std/vmutils (#18660)
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
|
||||
import macros
|
||||
import std/private/since
|
||||
from std/private/vmutils import forwardImpl, toUnsigned
|
||||
|
||||
|
||||
from std/private/bitops_utils import forwardImpl, toUnsigned
|
||||
|
||||
func bitnot*[T: SomeInteger](x: T): T {.magic: "BitnotI".}
|
||||
## Computes the `bitwise complement` of the integer `x`.
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
## Contains the used algorithms for counting bits.
|
||||
|
||||
from std/private/vmutils import forwardImpl, toUnsigned
|
||||
from std/private/bitops_utils import forwardImpl, toUnsigned
|
||||
|
||||
|
||||
const useBuiltins* = not defined(noIntrinsicsBitOpts)
|
||||
|
||||
Reference in New Issue
Block a user