feat(napi): expose create_string_from_c_char for C ffi scenario

This commit is contained in:
LongYinan 2021-04-14 14:05:07 +08:00
parent 3be8136a7a
commit d1bceccbe6
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
2 changed files with 21 additions and 15 deletions
build/src

View file

@ -1,3 +1,4 @@
#![allow(clippy::expect_fun_call)]
use std::collections::hash_map::DefaultHasher;
use std::env;
use std::fs::{metadata, write};