diff options
author | John Hodge <tpg@mutabah.net> | 2017-08-22 19:46:12 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-08-22 19:46:12 +0800 |
commit | f62e4179bd7a4a893bf62686ef82f0a93b1cd970 (patch) | |
tree | 40e680ce27669f6c4353b95f8fb58d6044705ab8 /tools/minicargo/manifest.cpp | |
parent | ded405bcbc497595e10ccbb620c6132c4a2277ea (diff) | |
download | mrust-f62e4179bd7a4a893bf62686ef82f0a93b1cd970.tar.gz |
minicargo - Timestamp checking fixes, target default name
Diffstat (limited to 'tools/minicargo/manifest.cpp')
-rw-r--r-- | tools/minicargo/manifest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/minicargo/manifest.cpp b/tools/minicargo/manifest.cpp index 60594303..aab0adac 100644 --- a/tools/minicargo/manifest.cpp +++ b/tools/minicargo/manifest.cpp @@ -214,6 +214,14 @@ PackageManifest PackageManifest::load_from_toml(const ::std::string& path) } } + for(auto& tgt : rv.m_targets) + { + if(tgt.m_name == "") + { + tgt.m_name = rv.m_name; + } + } + return rv; } |