Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 11 pull requests #130907

Merged
merged 27 commits into from
Sep 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e2c9831
Document subtleties of `ManuallyDrop`
theemathas Sep 12, 2024
6fa092a
Address WaffleLapkin's comments
theemathas Sep 13, 2024
f604ed6
Fix awkward wording.
theemathas Sep 13, 2024
4788e8c
Add the library workspace to the suggested rust-analyzer config
bjorn3 Sep 18, 2024
de2eba1
Reword ManuallyDrop+Box interaction
theemathas Sep 21, 2024
986e20d
Fixed diagnostics for coroutines with () as input.
91khr Sep 25, 2024
8f1ed9b
Utf8Chunks: add link to Utf8Chunk
RalfJung Sep 25, 2024
afb7eef
Pass Module Analysis Manager to Standard Instrumentations
Sep 25, 2024
a51b0a2
Use `mem::offset_of!` for `sockaddr_un.sun_path`
cuviper Sep 25, 2024
5892187
Fix the misleading diagnostic for let_underscore_drop on type without…
makai410 Sep 26, 2024
1bef68c
Update FIXME comment in s390x_unknown_linux_*.rs
taiki-e Sep 26, 2024
cdd3371
rustdoc: do not animate when user prefers reduced motion
zopsicle Sep 25, 2024
ef87a7f
add missing FIXME(const-hack)
RalfJung Sep 26, 2024
9431d1a
Add `sun_path` to the fake doc `sockaddr_un`
cuviper Sep 26, 2024
e29ff8c
Pass correct HirId to late_bound_vars in diagnostic code
fmease Sep 26, 2024
5b58481
rustdoc: consolidate prefers-reduced-motion-gated rulesets
Sep 26, 2024
8a827c7
Rollup merge of #130279 - theemathas:manually-drop-docs, r=thomcc,tra…
GuillaumeGomez Sep 26, 2024
a4a591a
Rollup merge of #130517 - bjorn3:update_ra_config, r=onur-ozkan
GuillaumeGomez Sep 26, 2024
0acddf5
Rollup merge of #130820 - 91khr:fix-coroutine-unit-arg, r=compiler-er…
GuillaumeGomez Sep 26, 2024
d3cb1ce
Rollup merge of #130833 - makai410:master, r=compiler-errors,fee1-dead
GuillaumeGomez Sep 26, 2024
e650546
Rollup merge of #130845 - RalfJung:utf8chunk, r=tgross35
GuillaumeGomez Sep 26, 2024
c9478ef
Rollup merge of #130850 - saveasguy:pass-mam-to-standrd-instrumentati…
GuillaumeGomez Sep 26, 2024
329f9fc
Rollup merge of #130861 - cuviper:sun-path-offset, r=ibraheemdev
GuillaumeGomez Sep 26, 2024
432b1ff
Rollup merge of #130862 - zopsicle:patch-1, r=notriddle,GuillaumeGomez
GuillaumeGomez Sep 26, 2024
18dfee0
Rollup merge of #130868 - taiki-e:s390x-fixme, r=jieyouxu
GuillaumeGomez Sep 26, 2024
ed902a8
Rollup merge of #130879 - fmease:fix-diag-ice, r=compiler-errors
GuillaumeGomez Sep 26, 2024
3d4d45f
Rollup merge of #130880 - RalfJung:const-hack, r=scottmcm
GuillaumeGomez Sep 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add sun_path to the fake doc sockaddr_un
  • Loading branch information
cuviper committed Sep 26, 2024
commit 9431d1ab4e7613a21790d7e95616e52f3b679957
4 changes: 3 additions & 1 deletion library/std/src/os/unix/net/addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ mod libc {
pub type socklen_t = u32;
pub struct sockaddr;
#[derive(Clone)]
pub struct sockaddr_un;
pub struct sockaddr_un {
pub sun_path: [u8; 1],
}
}

const SUN_PATH_OFFSET: usize = mem::offset_of!(libc::sockaddr_un, sun_path);
Expand Down
Loading