Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
X

xbuild

> 编程语言
Open source

Cross compile rust to any platform (unmaintained)

672 stars0 likes2 views
WebsiteGitHub

About

Cross compile rust to any platform (unmaintained)

xbuild

xbuild is a build tool for rust projects with support for cross compiling and publishing to all major stores. The goal of xbuild is making native app development as easy as web development.

Getting started

Install xbuild:

bash
cargo install xbuild

List connected devices:

bash
x devices
host                                              Linux               linux x64           Arch Linux 5.16.10-arch1-1
adb:16ee50bc                                      FP4                 android arm64       Android 11 (API 30)
imd:55abbd4b70af4353bdea2595bbddcac4a2b7891a      David’s iPhone      ios arm64           iPhone OS 15.3.1

Build or run on a device:

bash
x build --device adb:16ee50bc
[1/3] Fetch precompiled artifacts
info: component 'rust-std' for target 'aarch64-linux-android' is up to date
[1/3] Fetch precompiled artifacts [72ms]
[2/3] Build rust
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
[2/3] Build rust [143ms]
[3/3] Create apk [958ms]

Troubleshooting

Command not found

x doctor should let you know if there are any external tools missing.

…

error: failed to run custom build command for glib-sys v0.14.0

This means that gtk3-dev is not installed. Install gtk3-dev package to fix the problem.

Generating apple signing key/certificate

See apple_codesign_certificate_management for further information.

Generating mobile provisioning profiles

Without an apple developer account there is no cross platform way of generating mobile provisioning profiles. You can either figure out how to generate it using xcode or cook.

License

Apache-2.0 OR MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言