init
This commit is contained in:
15
.cargo/config.toml
Normal file
15
.cargo/config.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[env]
|
||||
PKG_CONFIG_ALLOW_CROSS = "1"
|
||||
PKG_CONFIG_PATH = { value = ".cargo/pkgconfig", relative = true }
|
||||
|
||||
[target.wasm32-unknown-emscripten]
|
||||
rustflags = [
|
||||
"-C",
|
||||
"link-arg=--no-entry",
|
||||
"-C",
|
||||
"link-arg=-sSTANDALONE_WASM=1",
|
||||
"-C",
|
||||
"link-arg=-sALLOW_MEMORY_GROWTH=1",
|
||||
"-C",
|
||||
"link-arg=-sINITIAL_MEMORY=268435456",
|
||||
]
|
||||
10
.cargo/pkgconfig/unicorn.pc
Normal file
10
.cargo/pkgconfig/unicorn.pc
Normal file
@@ -0,0 +1,10 @@
|
||||
prefix=${pcfiledir}/../../../unicorn
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/build
|
||||
includedir=${exec_prefix}/include
|
||||
|
||||
Name: unicorn
|
||||
Description: Unicorn engine static library (wasm build)
|
||||
Version: 2.1.1
|
||||
Libs: -L${libdir} -lunicorn -lunicorn-common -laarch64-softmmu -larm-softmmu
|
||||
Cflags: -I${includedir}
|
||||
Reference in New Issue
Block a user