from c to go
(data *C.uint8_t, length C.uint64_t)
| 194 | |
| 195 | // from c to go |
| 196 | func goBytes(data *C.uint8_t, length C.uint64_t) []byte { |
| 197 | return bytes.Clone(unsafe.Slice((*byte)(data), length)) |
| 198 | } |
| 199 | |
| 200 | func CompileWithRustLib(s []byte, configId uint64) ([]byte, []byte, error) { |
| 201 | initCompilePtr() |
no outgoing calls
no test coverage detected