mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
15 lines
430 B
Bash
15 lines
430 B
Bash
ROOT=$PWD
|
|
cargo build --release --target=x86_64-pc-windows-gnu
|
|
cbindgen --config cbindgen.toml --crate rust-msc --output libpikabinder/libpikabinder.h
|
|
cp target/x86_64-pc-windows-gnu/release/libpikabinder.a libpikabinder
|
|
|
|
cd ../pikaByteCodeGen
|
|
cp ../pikaCompiler/libpikabinder . -r
|
|
cp ../../src pikascript/pikascript-core -r
|
|
|
|
sh cross-win.sh
|
|
|
|
cp pikaByteCodeGen $ROOT/rust-msc-latest-linux
|
|
cd $ROOT
|
|
chmod +x rust-msc-latest-linux
|