Rework ASSUME_PROVIDED and notes

This commit is contained in:
Cody P Schafer
2014-12-02 16:40:45 -05:00
parent c5dbc8ce28
commit 3cf2b9e42c
3 changed files with 20 additions and 10 deletions
-5
View File
@@ -2,11 +2,6 @@ inherit rust
CARGO = "cargo"
# cargo & rust go out of sync rather frequently. Very often we'll want newer
# versions of rust than cargo is able to build with. Thankfully, we don't need
# any custom cargo configuration, and can use a vanilla cargo binary.
#
# We recommend setting ASSUME_PROVIDED += "cargo-native" in your local.conf
def cargo_base_dep(d):
deps = ""
if not d.getVar('INHIBIT_DEFAULT_DEPS') and not d.getVar('INHIBIT_CARGO_DEP'):