Skip to content

用 ninja 编译 spine 的wasm 版本时 有警告信息. #18600

Open
@finscn

Description

@finscn

Cocos Creator version

3.8.6

System information

3.8.6

Issue description

构建 3.8 和 4.2 的 wasm文件时, 都有警告, 信息如下:

building:INFO: ctor_evaller: trying to eval global ctors (--ctors=__wasm_call_ctors)
building:INFO:

trying to eval __wasm_call_ctors
  ...partial evalling successful, but stopping since could not eval: call import: env._embind_register_std_string
  ...stopping

构建 4.2 的 asm 时警告如下, 3.8无警告:

warning: undefined symbol: _ZN5spine19getDefaultExtensionEv (referenced by root reference (e.g. compiled C/C++ code))
em++: warning: warnings in JS library compilation [-Wjs-compiler]

虽然文件最后都构建出来了, 但是不知道会不会产生什么隐患.
希望官方能消除这类警告.要不然总是让人心里用着不踏实.

Relevant error log output

No response

Steps to reproduce

.

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageNeeds to be assigned by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions