diff options
| author | joboet <jonasboettiger@icloud.com> | 2024-04-03 15:17:00 +0200 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2024-04-03 16:00:38 +0200 |
| commit | 989660c3e6efc1c5eb2e822f68863df7d06cbcb4 (patch) | |
| tree | 16312a00866a10a9579ddfce929979d67e27577d /library/std | |
| parent | 99c42d234064bede688a02d7076d369ecce1a513 (diff) | |
| download | rust-989660c3e6efc1c5eb2e822f68863df7d06cbcb4.tar.gz rust-989660c3e6efc1c5eb2e822f68863df7d06cbcb4.zip | |
rename `expose_addr` to `expose_provenance`
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/sys/pal/hermit/thread.rs | 2 | ||||
| -rw-r--r-- | library/std/src/sys/pal/itron/thread.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/hermit/thread.rs b/library/std/src/sys/pal/hermit/thread.rs index 62c76a74cd4..40f88e33d4a 100644 --- a/library/std/src/sys/pal/hermit/thread.rs +++ b/library/std/src/sys/pal/hermit/thread.rs @@ -29,7 +29,7 @@ impl Thread { let p = Box::into_raw(Box::new(p)); let tid = abi::spawn2( thread_start, - p.expose_addr(), + p.expose_provenance(), abi::Priority::into(abi::NORMAL_PRIO), stack, core_id, diff --git a/library/std/src/sys/pal/itron/thread.rs b/library/std/src/sys/pal/itron/thread.rs index 1c66bd79ce4..047513a6792 100644 --- a/library/std/src/sys/pal/itron/thread.rs +++ b/library/std/src/sys/pal/itron/thread.rs @@ -181,7 +181,7 @@ impl Thread { abi::acre_tsk(&abi::T_CTSK { // Activate this task immediately tskatr: abi::TA_ACT, - exinf: p_inner.as_ptr().expose_addr() as abi::EXINF, + exinf: p_inner.as_ptr().expose_provenance() as abi::EXINF, // The entry point task: Some(trampoline), // Inherit the calling task's base priority |
