<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/pal/sgx/abi, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-10T13:26:17+00:00</updated>
<entry>
<title>std: move `thread` into `sys`</title>
<updated>2025-09-10T13:26:17+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-08-09T17:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ad08577a503dfd03e308bd272e76d95e31c6d0ef'/>
<id>urn:sha1:ad08577a503dfd03e308bd272e76d95e31c6d0ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143272 - tgross35:bump-fortanix, r=jhpratt,jethrogb</title>
<updated>2025-07-26T07:19:27+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2025-07-26T07:19:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3b99668f830b6005b0c3c2686242f7f0e28eadd4'/>
<id>urn:sha1:3b99668f830b6005b0c3c2686242f7f0e28eadd4</id>
<content type='text'>
Upgrade the `fortanix-sgx-abi` dependency

0.6.1 removes the `compiler-builtins` dependency, part of RUST-142265. The breaking change from 0.5 to 0.6 is for an update to the `insecure_time` API [1].

I validated that `./x c library --target x86_64-fortanix-unknown-sgx` completes successfully with this change.

Link: https://github.com/fortanix/rust-sgx/commit/a34e9767f37d6585c18bdbd31cddcadc56670d57 [1]
</content>
</entry>
<entry>
<title>Attempt to fix up SGX for random API updates</title>
<updated>2025-07-13T09:54:27+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-07-13T09:54:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=377aa764aacabbf32c1d0e91312071660b14c919'/>
<id>urn:sha1:377aa764aacabbf32c1d0e91312071660b14c919</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade the `fortanix-sgx-abi` dependency</title>
<updated>2025-07-01T08:33:10+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-07-01T08:23:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=978e11baa2eb7bb0ca72379179f7cb3dba1772ff'/>
<id>urn:sha1:978e11baa2eb7bb0ca72379179f7cb3dba1772ff</id>
<content type='text'>
0.6.1 removes the `compiler-builtins` dependency, part of RUST-142265.
The breaking change from 0.5 to 0.6 is for an update to the
`insecure_time` API [1].

I validated that `./x c library --target x86_64-fortanix-unknown-sgx`
completes successfully with this change.

Link: https://github.com/fortanix/rust-sgx/commit/a34e9767f37d6585c18bdbd31cddcadc56670d57 [1]
</content>
</entry>
<entry>
<title>Auto merge of #123239 - Urgau:dangerous_implicit_autorefs, r=jdonszelmann,traviscross</title>
<updated>2025-04-28T08:25:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-04-28T08:25:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a932eb36f8adf6c8cdfc450f063943da3112d621'/>
<id>urn:sha1:a932eb36f8adf6c8cdfc450f063943da3112d621</id>
<content type='text'>
Implement a lint for implicit autoref of raw pointer dereference - take 2

*[t-lang nomination comment](https://github.com/rust-lang/rust/pull/123239#issuecomment-2727551097)*

This PR aims at implementing a lint for implicit autoref of raw pointer dereference, it is based on #103735 with suggestion and improvements from https://github.com/rust-lang/rust/pull/103735#issuecomment-1370420305.

The goal is to catch cases like this, where the user probably doesn't realise it just created a reference.

```rust
pub struct Test {
    data: [u8],
}

pub fn test_len(t: *const Test) -&gt; usize {
    unsafe { (*t).data.len() }  // this calls &lt;[T]&gt;::len(&amp;self)
}
```

Since #103735 already went 2 times through T-lang, where they T-lang ended-up asking for a more restricted version (which is what this PR does), I would prefer this PR to be reviewed first before re-nominating it for T-lang.

----

Compared to the PR it is as based on, this PR adds 3 restrictions on the outer most expression, which must either be:
   1. A deref followed by any non-deref place projection (that intermediate deref will typically be auto-inserted)
   2. A method call annotated with `#[rustc_no_implicit_refs]`.
   3. A deref followed by a `addr_of!` or `addr_of_mut!`. See bottom of post for details.

There are several points that are not 100% clear to me when implementing the modifications:
 - ~~"4. Any number of automatically inserted deref/derefmut calls." I as never able to trigger this. Am I missing something?~~ Fixed
 - Are "index" and "field" enough?

----

cc `@JakobDegen` `@WaffleLapkin`
r? `@RalfJung`

try-job: dist-various-1
try-job: dist-various-2
</content>
</entry>
<entry>
<title>Fix SGX library code implicit auto-ref</title>
<updated>2025-04-27T10:00:47+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-04-27T10:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05f2b2265dd96655e9984c1b2b8ef207f09a88f9'/>
<id>urn:sha1:05f2b2265dd96655e9984c1b2b8ef207f09a88f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use generic Atomic type where possible</title>
<updated>2025-04-26T23:18:08+00:00</updated>
<author>
<name>Christopher Durham</name>
<email>cad97@cad97.com</email>
</author>
<published>2024-09-19T04:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d93f6056824c338751f19356d33bb61ce818749'/>
<id>urn:sha1:4d93f6056824c338751f19356d33bb61ce818749</id>
<content type='text'>
in core/alloc/std only for now, and ignoring test files

Co-authored-by: Pavel Grigorenko &lt;GrigorenkoPV@ya.ru&gt;
</content>
</entry>
<entry>
<title>Clarify why SGX code specifies linkage/symbol names for certain statics</title>
<updated>2025-04-14T11:36:06+00:00</updated>
<author>
<name>Jethro Beekman</name>
<email>jethro@fortanix.com</email>
</author>
<published>2025-04-14T11:36:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8dc773296cf743af20b1174050431c29ba6a7427'/>
<id>urn:sha1:8dc773296cf743af20b1174050431c29ba6a7427</id>
<content type='text'>
Also update the symbol names as items have moved around a bit. The actual
name isn't that important, it just needs to be unique. But for debugging
it can be useful for it to point to the right place.
</content>
</entry>
<entry>
<title>Fix `UserRef&lt;[T]&gt;::copy_to_enclave_vec`</title>
<updated>2025-03-12T03:16:31+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-26T19:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c62aa0baa1a8228d5bfbb3e810db4c7ee77eb3a1'/>
<id>urn:sha1:c62aa0baa1a8228d5bfbb3e810db4c7ee77eb3a1</id>
<content type='text'>
It reinterprets uninitialized memory as initialized and does not drop
existing elements of the Vec. Fix that.

Additionally, make it more general by appending, instead of overwriting
existing elements, and rename it to `append_to_enclave_vec`. A caller
can simply call `.clear()` before, for the old behavior.
</content>
</entry>
<entry>
<title>Implement read_buf and vectored read/write for SGX stdio</title>
<updated>2025-03-10T07:48:13+00:00</updated>
<author>
<name>Thalia Archibald</name>
<email>thalia@archibald.dev</email>
</author>
<published>2025-02-07T23:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c7a94e4cdd9ad70550b19ca2bf6f16046d59506'/>
<id>urn:sha1:8c7a94e4cdd9ad70550b19ca2bf6f16046d59506</id>
<content type='text'>
</content>
</entry>
</feed>
