<p dir="auto">Assume we have a file <code class="notranslate">main.rs</code> which defines a module <code class="notranslate">foo</code> residing in <code class="notranslate">foo.rs</code>. When the package has previously been built, <code class="notranslate">rustpkg build …</code> only checks the timestamp of <code class="notranslate">main.rs</code>, but not that of <code class="notranslate">foo.rs</code>, ignoring changes done there.</p>
<p dir="auto">This also applies to <code class="notranslate">rustpkg test</code> with <code class="notranslate">test.rs</code>.</p>
<p dir="auto">When I go to build something with rustpkg after modifying any file other than main.rs, despite main.rs having <code class="notranslate">mod foo;</code> where the file I'm editing is foo.rs, it doesn't check if that file has been updated when I build.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustpkg --version
WARNING: The Rust package manager is experimental and may be unstable
rustpkg 0.8-pre (4c6bf48 2013-09-17 20:35:54 -0700)
host: x86_64-unknown-linux-gnu"><pre class="notranslate"><code class="notranslate">$ rustpkg --version
WARNING: The Rust package manager is experimental and may be unstable
rustpkg 0.8-pre (4c6bf48 2013-09-17 20:35:54 -0700)
host: x86_64-unknown-linux-gnu
</code></pre></div>