Skip to content

martin1847/krpc-crates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

各种相关组建、DEMO等等

release

rustup target list --installed
# 不需要额外配置,arm也可以允许x86的,反过来不行
rustup target add x86_64-apple-darwin   
cargo build -r --target x86_64-unknown-linux-musl
cargo build -r --target x86_64-apple-darwin

windows

rustup target add x86_64-pc-windows-msvc
cargo install cargo-xwin  
cargo install --force --locked bindgen-cli      
#   Consider installing the bindgen-cli: `cargo install --force --locked bindgen-cli`
#   See our User Guide for more information about bindgen:https://aws.github.io/aws-lc-rs/index.html
brew install cmake nasm ninja llvm
# ninja is required to enable CMake support.
cargo xwin build -r --target x86_64-pc-windows-msvc
  • vcruntime140.dll not found?

use static_vcruntime.

static bundles VCRUNTIME140.DLL such that it's not necessary to install "Microsoft Visual C++ Redistributable".

  • How is this different to +crt-static?

Using +crt-static does statically link the vcruntime but it also statically links the > >universal C runtime (ucrt). This is entirely unnecessary because the ucrt is included with >Windows already.

  • 或者用docker模式
  • cross-rs/gnu

About

krpc rust 相关的 crates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages