diff options
author | John Hodge <tpg@ucc.asn.au> | 2019-05-12 17:09:58 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2019-05-12 17:09:58 +0800 |
commit | 65fa34c0f38bc1511ff2fee7efc4744d66b15a46 (patch) | |
tree | 9ffca2b85793e5a9c79fbceb88c36573d1c438ae /tools/minicargo/manifest.h | |
parent | 1345b89c88d32fed62df16e492e18bcf7ded477c (diff) | |
download | mrust-65fa34c0f38bc1511ff2fee7efc4744d66b15a46.tar.gz |
minicargo - dependency file support, planning for dylibs
Diffstat (limited to 'tools/minicargo/manifest.h')
-rw-r--r-- | tools/minicargo/manifest.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/minicargo/manifest.h b/tools/minicargo/manifest.h index be19a7b1..54374dc2 100644 --- a/tools/minicargo/manifest.h +++ b/tools/minicargo/manifest.h @@ -190,6 +190,14 @@ struct PackageTarget Bench, Example, }; + enum class CrateType + { + dylib, + rlib, + staticlib, + cdylib, + proc_macro, + }; Type m_type; ::std::string m_name; @@ -202,6 +210,7 @@ struct PackageTarget bool m_is_proc_macro = false; bool m_is_own_harness = false; + ::std::vector<CrateType> m_crate_types; ::std::vector<::std::string> m_required_features; PackageTarget(Type ty): |