mirror of
https://github.com/openharmony/ark_js_runtime.git
synced 2026-08-27 10:41:15 -04:00
Descriptor: ark hilog refactor
details: 1. use hilog in ohos device 2. use panda logger in host issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J Signed-off-by: wengchangcheng <wengchangcheng@huawei.com> Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
This commit is contained in:
@@ -30,7 +30,7 @@ void JSArrayBuffer::CopyDataBlockBytes(JSTaggedValue toBlock, JSTaggedValue from
|
||||
auto *from = static_cast<uint8_t *>(fromBuf);
|
||||
auto *to = static_cast<uint8_t *>(toBuf);
|
||||
if (memcpy_s(to, count, from + fromIndex, count) != EOK) { // NOLINT
|
||||
LOG_ECMA(FATAL) << "memcpy_s failed";
|
||||
LOG_FULL(FATAL) << "memcpy_s failed";
|
||||
UNREACHABLE();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user