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 10 pull requests #120281

Merged
merged 23 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2d1b2a9
Add more weirdness to weird-exprs.rs
oberien Dec 16, 2023
3ed96e3
Suggest arry::from_fn for array initialization
chenyukang Jan 5, 2024
98f5981
Rename function in weird-exprs.rs for clarity
oberien Jan 21, 2024
527f903
Bump `ctrlc` version
clubby789 Jan 21, 2024
c751720
Bump `openssl` version
clubby789 Jan 21, 2024
7a17508
correct my mailmap entry
emberian Jan 22, 2024
dec4740
compiler: update freebsd and netbsd base specs.
devnexen Jan 21, 2024
a77cc2c
Use `Self` in `NonZero*` implementations.
reitermarkus Jan 22, 2024
ce11b70
Re-add estebank to review rotation
estebank Jan 22, 2024
ed4b99a
fixing build for the BSD
devnexen Jan 22, 2024
c6088f7
`RawTy` to `LoweredTy`
lcnr Jan 22, 2024
5fc39e0
Random type checker changes
compiler-errors Jan 23, 2024
c8e4aaa
Move condition enabling the pass to `is_enabled`
tmiasko Jan 15, 2024
e8f9e54
Rollup merge of #119028 - oberien:patch-1, r=cjgillot
fmease Jan 23, 2024
dd538b5
Rollup merge of #119805 - chenyukang:yukang-fix-119530, r=davidtwco
fmease Jan 23, 2024
1e5ec4d
Rollup merge of #120188 - devnexen:update_bsd_compiler_base_specs, r=…
fmease Jan 23, 2024
09c31b8
Rollup merge of #120215 - clubby789:dep-updates, r=Nilstrieb
fmease Jan 23, 2024
8fea4a8
Rollup merge of #120244 - reitermarkus:nonzero-self, r=dtolnay
fmease Jan 23, 2024
0d3af59
Rollup merge of #120246 - estebank:revert_breathing_room, r=estebank
fmease Jan 23, 2024
0c769cc
Rollup merge of #120252 - lcnr:rename-astconv-ty, r=compiler-errors
fmease Jan 23, 2024
456974b
Rollup merge of #120255 - emberian:patch-1, r=Nilstrieb
fmease Jan 23, 2024
3b1c2eb
Rollup merge of #120270 - compiler-errors:randos, r=lcnr
fmease Jan 23, 2024
08bac31
Rollup merge of #120280 - tmiasko:is-enabled, r=compiler-errors
fmease Jan 23, 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
1 change: 1 addition & 0 deletions compiler/rustc_target/src/spec/base/dragonfly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub fn opts() -> TargetOptions {
has_rpath: true,
position_independent_executables: true,
relro_level: RelroLevel::Full,
has_thread_local: true,
default_dwarf_version: 2,
..Default::default()
}
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_target/src/spec/base/freebsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub fn opts() -> TargetOptions {
crt_static_respected: true,
position_independent_executables: true,
relro_level: RelroLevel::Full,
has_thread_local: true,
abi_return_struct_as_int: true,
default_dwarf_version: 2,
..Default::default()
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_target/src/spec/base/netbsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub fn opts() -> TargetOptions {
has_rpath: true,
position_independent_executables: true,
relro_level: RelroLevel::Full,
has_thread_local: true,
use_ctors_section: true,
default_dwarf_version: 2,
..Default::default()
Expand Down
5 changes: 4 additions & 1 deletion library/std/src/sys/pal/unix/thread_local_dtor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
target_os = "android",
target_os = "fuchsia",
target_os = "redox",
target_os = "hurd"
target_os = "hurd",
target_os = "freebsd",
target_os = "netbsd",
target_os = "dragonfly"
))]
// FIXME: The Rust compiler currently omits weakly function definitions (i.e.,
// __cxa_thread_atexit_impl) and its metadata from LLVM IR.
Expand Down