Commit Graph

12 Commits

Author SHA1 Message Date
Cody P Schafer 7feed5d36c recipes-example/rust-hello-world: move to new url in meta-rust org 2021-02-08 19:38:12 -05:00
Dan Callaghan d5ab20d23b rust-hello-world: enable LTO in the build
If the libstd-rs recipe is not correctly embedding LVM bitcode in its
output, then it can produce a toolchain that appears to work until you
try building a project that requests LTO:

    error: failed to get bitcode from object file for LTO (Bitcode section not found in object file)

Enable LTO for rust-hello-world to give us an easy watch to catch such
problems.
2021-02-05 11:41:47 +10:00
Steven Walter fbf59ed6a0 cargo.bbclass: replace with what was cargo_util.bbclass
The old cargo.bbclass had no users in meta-rust and had lots of
problems (not least of which was lots of duplicated lines with
cargo_util.bbclass).  Delete the old cargo.bbclass and replace it
entirely wiht cargo_util
2016-09-05 18:40:42 -04:00
Doug Goldstein a67fbf2223 rust-hello-world: convert to using cargo_util
Convert to using the newer cargo_util bbclass.
2016-07-12 16:33:02 -05:00
Cody P Schafer 41824cb27a attempting to use a new cargo 2014-12-03 17:55:13 -05:00
Cody P Schafer 8ed6edcf32 hello-world: cargo dep now provided by cargo.bbclass 2014-12-02 14:01:45 -05:00
Cody P Schafer 64708e9c32 rust-hello-world: enable dep on cargo-native 2014-12-01 18:01:33 -05:00
Cody P Schafer 4b75f09945 split rust.bbclass into rust & cargo classes 2014-11-21 12:11:28 -05:00
Cody P Schafer 5811ada7fe rust-hello-world builds :) 2014-11-20 20:44:10 -05:00
Cody P Schafer 459bc5d88a tweaks 2014-11-17 03:39:57 -05:00
Cody P Schafer d8e25c781a cargo is picky too :( 2014-11-17 00:54:06 -05:00
Cody P Schafer 34ed27da30 Update readme, put example in example dir 2014-11-15 22:51:42 -05:00