erlang: wire cid:from_bytes/1 + cid:to_string/1 against cid-from-bytes/cid-from-sx (Phase 8, +7 ffi tests)

This commit is contained in:
2026-05-18 22:00:41 +00:00
parent 250d0511c0
commit 4591ac530b
3 changed files with 36 additions and 4 deletions

View File

@@ -1559,6 +1559,8 @@
(er-register-bif! "file" "delete" 1 er-bif-file-delete)
;; Phase 8 FFI — host-primitive BIFs (loops/fed-prims)
(er-register-pure-bif! "crypto" "hash" 2 er-bif-crypto-hash)
(er-register-pure-bif! "cid" "from_bytes" 1 er-bif-cid-from-bytes)
(er-register-pure-bif! "cid" "to_string" 1 er-bif-cid-to-string)
(er-mk-atom "ok")))
;; Register everything at load time.