Skip to content

Commit 858e547

Browse files
committed
Fix multi-file rlib conditional for macOS builds (theseus-os#1021)
When building on macOS, GNU Make (`gmake`) treats quotes differently than on Linux hosts, which caused the outputted rlib file for *every* crate to be incorrectly treated as containing multiple object files. Currently, this is expected behavior for only one crate, `wasmtime-runtime`. Signed-off-by: Klimenty Tsoutsman <[email protected]> 6e74488
1 parent a0bd39d commit 858e547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/environment/struct.Environment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.working_dir" class="structfield small-section-header"><a href="#structfield.working_dir" class="anchor field">§</a><code>working_dir: DirRef</code></span><div class="docblock"><p>The “current working directory”, i.e.,
1111
where a task’s relative path begins upon first execution.</p>
1212
</div><span id="structfield.variables" class="structfield small-section-header"><a href="#structfield.variables" class="anchor field">§</a><code>variables: HashMap&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Environment" class="impl"><a class="srclink rightside" href="../src/environment/lib.rs.html#23-61">source</a><a href="#impl-Environment" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Environment.html" title="struct environment::Environment">Environment</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cwd" class="method"><a class="srclink rightside" href="../src/environment/lib.rs.html#26-29">source</a><h4 class="code-header">pub fn <a href="#method.cwd" class="fn">cwd</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Returns the absolute file path of the current working directory.</p>
13-
</div></details><details class="toggle method-toggle" open><summary><section id="method.chdir" class="method"><a class="srclink rightside" href="../src/environment/lib.rs.html#33-42">source</a><h4 class="code-header">pub fn <a href="#method.chdir" class="fn">chdir</a>(&amp;mut self, path: &amp;<a class="struct" href="../path/struct.Path.html" title="struct path::Path">Path</a>) -&gt; <a class="type" href="type.Result.html" title="type environment::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>Changes the current working directory.</p>
13+
</div></details><details class="toggle method-toggle" open><summary><section id="method.chdir" class="method"><a class="srclink rightside" href="../src/environment/lib.rs.html#33-42">source</a><h4 class="code-header">pub fn <a href="#method.chdir" class="fn">chdir</a>(&amp;mut self, path: &amp;Path) -&gt; <a class="type" href="type.Result.html" title="type environment::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>Changes the current working directory.</p>
1414
</div></details><details class="toggle method-toggle" open><summary><section id="method.get" class="method"><a class="srclink rightside" href="../src/environment/lib.rs.html#46-48">source</a><h4 class="code-header">pub fn <a href="#method.get" class="fn">get</a>(&amp;self, key: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the value of the environment variable with the given <code>key</code>.</p>
1515
</div></details><details class="toggle method-toggle" open><summary><section id="method.set" class="method"><a class="srclink rightside" href="../src/environment/lib.rs.html#52-54">source</a><h4 class="code-header">pub fn <a href="#method.set" class="fn">set</a>(&amp;mut self, key: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h4></section></summary><div class="docblock"><p>Sets an environment variable with the given <code>key</code> and <code>value</code>.</p>
1616
</div></details><details class="toggle method-toggle" open><summary><section id="method.unset" class="method"><a class="srclink rightside" href="../src/environment/lib.rs.html#58-60">source</a><h4 class="code-header">pub fn <a href="#method.unset" class="fn">unset</a>(&amp;mut self, key: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.str.html">str</a>)</h4></section></summary><div class="docblock"><p>Unsets the environment variable with the given <code>key</code>.</p>

0 commit comments

Comments
 (0)