<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_data_structures/src/memmap.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-05T13:52:22+00:00</updated>
<entry>
<title>Couple of changes to run rustc in miri</title>
<updated>2025-02-05T13:52:22+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-05T13:52:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e27495c015c3df7f82cc15c73968f836c10cc9e9'/>
<id>urn:sha1:e27495c015c3df7f82cc15c73968f836c10cc9e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 122262: MAP_PRIVATE for more reliability on virtualised filesystems.</title>
<updated>2024-03-15T22:31:07+00:00</updated>
<author>
<name>Guillaume Yziquel</name>
<email>guillaume@vizyon.ai</email>
</author>
<published>2024-03-10T20:00:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3fc5ed8067f98e2cae8c259a2e367024c59a3ad3'/>
<id>urn:sha1:3fc5ed8067f98e2cae8c259a2e367024c59a3ad3</id>
<content type='text'>
Adding support of quirky filesystems occuring in virtualised settings not
having full POSIX support for memory mapped files. Example: current virtiofs
with cache disabled, occuring in Incus/LXD or Kata Containers. Has been
hitting various virtualised filesystems since 2016, depending on their levels
of maturity at the time. The situation will perhaps improve when virtiofs DAX
support patches will have made it into the qemu mainline.

On a reliability level, using the MAP_PRIVATE sycall flag instead of the
MAP_SHARED syscall flag for the mmap() system call does have some undefined
behaviour when the caller update the memory mapping of the mmap()ed file, but
MAP_SHARED does allow not only the calling process but other processes to
modify the memory mapping. Thus, in the current context, using MAP_PRIVATE
copy-on-write is marginally more reliable than MAP_SHARED.

This discussion of reliability is orthogonal to the type system enforced safety
policy of rust, which does not claim to handle memory modification of memory
mapped files triggered through the operating system and not the running rust
process.
</content>
</entry>
<entry>
<title>elaborate a bit on the (lack of) safety in 'Mmap::map'</title>
<updated>2023-08-19T10:50:26+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-08-19T10:49:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=132a2c6cf29649d0b57f3efe9fe72beef8fc7c9e'/>
<id>urn:sha1:132a2c6cf29649d0b57f3efe9fe72beef8fc7c9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>`deny(unsafe_op_in_unsafe_fn)` in `rustc_data_structures`</title>
<updated>2023-04-19T18:00:48+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2023-04-19T18:00:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f79df7d2a4e224aa35697e5096d0f25fdcf26b2f'/>
<id>urn:sha1:f79df7d2a4e224aa35697e5096d0f25fdcf26b2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some clippy::complexity</title>
<updated>2023-04-09T21:22:14+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-04-09T21:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81c320ea7786a2b5a07a165aedacb438ae14fd74'/>
<id>urn:sha1:81c320ea7786a2b5a07a165aedacb438ae14fd74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Yeet `owning_ref`</title>
<updated>2023-04-05T13:49:48+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2023-04-05T13:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d7056548f9dd51d44d9d29fd0376ac509605076b'/>
<id>urn:sha1:d7056548f9dd51d44d9d29fd0376ac509605076b</id>
<content type='text'>
Turns out
- `owning_ref` is unsound due to `Box` aliasing stuff
- `rustc` doesn't need 99% of the `owning_ref` API
- `rustc` can use a far simpler abstraction that is `OwnedSlice`
</content>
</entry>
<entry>
<title>Auto merge of #105218 - matthiaskrgr:rollup-8d3k08n, r=matthiaskrgr</title>
<updated>2022-12-03T21:25:45+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2022-12-03T21:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8a52e3a4ba9549edb71836561be13e73a8a50a7'/>
<id>urn:sha1:b8a52e3a4ba9549edb71836561be13e73a8a50a7</id>
<content type='text'>
Rollup of 9 pull requests

Successful merges:

 - #104199 (Keep track of the start of the argument block of a closure)
 - #105050 (Remove useless borrows and derefs)
 - #105153 (Create a hacky fail-fast mode that stops tests at the first failure)
 - #105164 (Restore `use` suggestion for `dyn` method call requiring `Sized`)
 - #105193 (Disable coverage instrumentation for naked functions)
 - #105200 (Remove useless filter in unused extern crate check.)
 - #105201 (Do not call fn_sig on non-functions.)
 - #105208 (Add AmbiguityError for inconsistent resolution for an import)
 - #105214 (update Miri)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Remove useless borrows and derefs</title>
<updated>2022-12-01T17:34:43+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-11-29T11:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2b97a8bfe23cdda293908e3c3e01f2613787168'/>
<id>urn:sha1:f2b97a8bfe23cdda293908e3c3e01f2613787168</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rewrite LLVM's archive writer in Rust</title>
<updated>2022-11-26T19:35:32+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2022-05-28T10:43:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be6708428fdf6693188e2c2f10f05d1b1aaa5750'/>
<id>urn:sha1:be6708428fdf6693188e2c2f10f05d1b1aaa5750</id>
<content type='text'>
This allows it to be used by other codegen backends
</content>
</entry>
<entry>
<title>define MmapMut and use it in Decodable impl</title>
<updated>2022-07-02T13:54:37+00:00</updated>
<author>
<name>Yoshiki Matsuda</name>
<email>myskjp@gmail.com</email>
</author>
<published>2022-05-08T03:36:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c57d7788729f32e74966f67eea582ec7ec75a133'/>
<id>urn:sha1:c57d7788729f32e74966f67eea582ec7ec75a133</id>
<content type='text'>
</content>
</entry>
</feed>
