diff options
author | John Hodge <tpg@ucc.asn.au> | 2019-07-13 18:43:25 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2019-07-13 18:43:25 +0800 |
commit | 382c1567fd533d9bede83eb619fae628f16da81d (patch) | |
tree | 7232e46bd63ff79811a930fe2ba5ce92eec847f1 | |
parent | 98ff2f2affb221630eefd9979b8b2dc294d7851f (diff) | |
download | mrust-382c1567fd533d9bede83eb619fae628f16da81d.tar.gz |
main - Add initial file to depenency list
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index dd208cbe..8e97dd57 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -235,6 +235,7 @@ int main(int argc, char *argv[]) }); crate.m_test_harness = params.test_harness; crate.m_crate_name_suffix = params.crate_name_suffix; + //crate.m_crate_name = params.crate_name; if( params.last_stage == ProgramParams::STAGE_PARSE ) { return 0; @@ -425,7 +426,7 @@ int main(int argc, char *argv[]) ::std::ofstream of { params.emit_depfile }; // TODO: Escape spaces and colons in these paths - of << params.outfile << ":"; + of << params.outfile << ": " << params.infile; for(const auto& mod_path : pe.out) { of << " " << mod_path; |