<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/tests/common, branch cargo_update</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=cargo_update</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=cargo_update'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-07T15:54:07+00:00</updated>
<entry>
<title>std: get rid of `sys_common::io`</title>
<updated>2025-02-07T15:54:07+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-01-18T18:12:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7433ba62b10126b0ae8b78d711f19402db663101'/>
<id>urn:sha1:7433ba62b10126b0ae8b78d711f19402db663101</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Move RandomState and DefaultHasher into std::hash, but don't export for now</title>
<updated>2023-11-03T00:35:20+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2023-09-09T03:57:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=075409ddd9bf30602c7654e37127e1dbbb460871'/>
<id>urn:sha1:075409ddd9bf30602c7654e37127e1dbbb460871</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: mark common functions in test crate `pub(crate)`</title>
<updated>2023-05-25T15:15:04+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-05-08T21:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b537c1f1756b43228c3c392a54ddec91b0f1d205'/>
<id>urn:sha1:b537c1f1756b43228c3c392a54ddec91b0f1d205</id>
<content type='text'>
This is not a library, so there's no reason for them to be `pub`.
Without doing this, compiling the test crates causes private dep
lint errors:

      error: type `PathBuf` from private dependency 'std' in public interface
        --&gt; library/std/tests/common/mod.rs:26:5
         |
      26 |     pub fn join(&amp;self, path: &amp;str) -&gt; PathBuf {
         |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         |
         = note: `-D exported-private-dependencies` implied by `-D warnings`

      error: type `Path` from private dependency 'std' in public interface
        --&gt; library/std/tests/common/mod.rs:31:5
         |
      31 |     pub fn path(&amp;self) -&gt; &amp;Path {
         |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

      error: could not compile `std` (test "create_dir_all_bare") due to 2 previous errors

This happens because Cargo passes `--extern 'priv:std=...` when
compiling the test crate.

I'm not sure if these warnings are desirable or not. They seem correct
in a very pedantic way (the dependency on `std` is not marked public,
since it's implicit), but also pointless (the test crate is not an API,
so who cares what it does).
</content>
</entry>
<entry>
<title>bootstrap: enable Cargo `public-dependency` feature for `libstd`</title>
<updated>2023-05-25T15:13:23+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-05-01T17:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64025bb168f3ae37428387ca37ba89eb80be6544'/>
<id>urn:sha1:64025bb168f3ae37428387ca37ba89eb80be6544</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `create_dir_all_bare` an std integration test</title>
<updated>2023-02-21T18:33:19+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2023-02-19T09:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b18b4440a8d8b052ef454dba9fdb95be99485e7'/>
<id>urn:sha1:9b18b4440a8d8b052ef454dba9fdb95be99485e7</id>
<content type='text'>
Moving `create_dir_all` out of `ui-fulldeps` is complicated by the fact it sets the current directory. This means it can't be a unit test. Instead, move it to its own integration test.
</content>
</entry>
</feed>
