Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
62e29fe
Simplify environment variable examples
mgeisler May 17, 2024
c4391b3
Skip fast path for dec2flt when optimize_for_size
diondokter Jun 11, 2024
5e2cc57
Terminate `--print link-args` output with newline
eggyal Jul 9, 2024
f96f68f
Test that `--print link-args` ends in newline
eggyal Jul 9, 2024
7f8f178
`impl Send + Sync` and override `count` for the `CStr::bytes` iterator
Sky9x Jul 7, 2024
8dafc5c
std: Use read_unaligned for reading DWARF
workingjubilee Jul 16, 2024
51bdcf6
Use futex.rs for Windows thread parking
ChrisDenton Jul 16, 2024
2499057
std: unwrapped unsafe is VERBOTEN!
workingjubilee Jul 16, 2024
d9fde25
Merge some `core::iter` entries.
nnethercote Jun 20, 2024
75b6ec9
Avoid comments that describe multiple `use` items.
nnethercote Jun 20, 2024
7f0ccfe
Adjust some comments on individual `use` declarations.
nnethercote Jun 20, 2024
e48d33e
zkvm: add `#[forbid(unsafe_op_in_unsafe_fn)]` in `stdlib`
SchmErik Jul 16, 2024
b5a83a6
xous: Forbid unwrapped unsafe in platform modules
workingjubilee Jul 16, 2024
33f1d9d
Cfg nit
diondokter Jul 16, 2024
586ef83
uefi: Forbid unwrapped unsafe in platform modules
workingjubilee Jul 16, 2024
689d272
Rollup merge of #125206 - mgeisler:simplify-std-env-vars, r=jhpratt,t…
tgross35 Jul 17, 2024
fe1dc02
Rollup merge of #126271 - diondokter:dec2flt-skip-fast-path, r=tgross35
tgross35 Jul 17, 2024
606d8cf
Rollup merge of #126776 - nnethercote:rustfmt-use-pre-cleanups-2, r=c…
tgross35 Jul 17, 2024
4013acd
Rollup merge of #127444 - Sky9x:cstr-bytes-iter, r=dtolnay
tgross35 Jul 17, 2024
8840d30
Rollup merge of #127512 - eggyal:newline-terminate-print-linkargs, r=…
tgross35 Jul 17, 2024
045b810
Rollup merge of #127792 - workingjubilee:read-unaligned-is-dwarfier, …
tgross35 Jul 17, 2024
446e017
Rollup merge of #127807 - ChrisDenton:win-parking, r=joboet
tgross35 Jul 17, 2024
dd80a72
Rollup merge of #127833 - risc0:erik/zkvm-deny-unsafe, r=workingjubilee
tgross35 Jul 17, 2024
1a1b44f
Rollup merge of #127836 - workingjubilee:forbid-unsafe-ops-in-xous-ue…
tgross35 Jul 17, 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
std: unwrapped unsafe is VERBOTEN!
Co-authored-by: Jonas Böttiger <[email protected]>
  • Loading branch information
workingjubilee and joboet authored Jul 16, 2024
commit 249905780f8313898fd239e71b32bbbc42cd5137
2 changes: 1 addition & 1 deletion library/std/src/sys/personality/dwarf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct DwarfReader {
pub ptr: *const u8,
}

#[deny(unsafe_op_in_unsafe_fn)]
#[forbid(unsafe_op_in_unsafe_fn)]
impl DwarfReader {
pub fn new(ptr: *const u8) -> DwarfReader {
DwarfReader { ptr }
Expand Down