Cody P Schafer fd26b2e1bb new cargo
2014-11-20 21:06:23 -05:00
2014-11-20 20:44:10 -05:00
2014-10-25 12:50:28 -04:00
2014-10-25 12:50:28 -04:00
2014-11-20 21:06:23 -05:00
2014-11-10 17:25:43 -05:00
2014-10-25 12:50:28 -04:00
2014-11-20 20:51:30 -05:00

Introduction

This openembedded layer provides the rust compiler, tools for building packages (cargo), and a few example projects.

What works:

  • MACHINE="beaglebone" (TARGET_SYS=arm-poky-linux-gnueabi)
  • Building rust-native, rust-cross, rust-hello-world

What doesn't:

  • building cargo-native (Using a local cargo install from somewhere else works just fine).

What's untested:

  • cargo, rust (built for target)
  • running anything
  • Other TARGETs

TODO

  • Include downloaded stage0 snapshot in SRC_URI
  • -crosssdk and -buildsdk packages
  • -runtime? (install target libraries on target)
  • Add SRC_URI components so that cargo doesn't use the network
  • Convince cargo not to use '$HOME/.cargo' for storing downloaded source code

Pitfalls

  • TARGET_SYS must be different from BUILD_SYS. This is due to the way configuration options are tracked for different targets.

Dependencies

On the host: unknown

On the target: unknown

Maintainer(s) & Patch policy

Open a Pull Request

MIT/Apache-2.0 - Same as rust

S
Description
OpenEmbedded/Yocto layer for Rust and Cargo
Readme 1.6 MiB
Languages
PHP 56.5%
BitBake 17%
Shell 9.1%
Python 7.5%
Pawn 5.3%
Other 4.6%