Closed bhaskarsantoshk closed 3 years ago
https://stackoverflow.com/a/64532748/5070050
Addressing : https://github.com/ugorji/go/issues/340
Considering the codec/helper_unsafe.go#rvSetDirect code, you have:
a call to typedmemclr(urv.typ, urv.ptr) func typedmemclr defined in src/runtime/mbarrier.go So import runtime is missing in helper_unsafe.go
@ugorji Please have a look at this
https://stackoverflow.com/a/64532748/5070050
Addressing : https://github.com/ugorji/go/issues/340
Considering the codec/helper_unsafe.go#rvSetDirect code, you have:
a call to typedmemclr(urv.typ, urv.ptr) func typedmemclr defined in src/runtime/mbarrier.go So import runtime is missing in helper_unsafe.go