Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
fee4992
Make File::read_to_end less special
kornelski Jan 31, 2024
0a42a54
Make `io::BorrowedCursor::advance` safe
a1phyr Feb 7, 2024
24e2cf0
Make `NonZero::get` generic.
reitermarkus Feb 1, 2024
d51e703
As Windows 10 requires certain features like CMPXCHG16B and a few oth…
CKingX Feb 9, 2024
d6766e2
Update x86_64_pc_windows_msvc.rs
CKingX Feb 9, 2024
01fa720
Bump Unicode to version 15.1.0, regenerate tables
Marcondiro Feb 8, 2024
fcb06f7
Update x86_64_pc_windows_msvc.rs
CKingX Feb 9, 2024
abeac8f
Update x86_64_uwp_windows_gnu.rs
CKingX Feb 9, 2024
1c6dda7
Possibly removed merge policy
CKingX Feb 9, 2024
0eee945
Make `is_intrinsic` query return the intrinsic name
oli-obk Jan 30, 2024
92281c7
Implement intrinsics with fallback bodies
oli-obk Jan 30, 2024
79daf61
Make the signature of equate_intrinsic_type support items other than …
oli-obk Jan 31, 2024
fffcb4c
Fix comment in core/src/str/validations.rs
PizzasBear Feb 12, 2024
09fd556
Make check_intrinsic_type not require ForeignItems anymore
oli-obk Jan 31, 2024
0dac617
support adding const generic params to intrinsics
oli-obk Jan 31, 2024
531505f
Check signature of intrinsics with fallback bodies
oli-obk Jan 31, 2024
8549c0a
Add intrinsic body fallback to cranelift and use it
oli-obk Jan 31, 2024
55200e7
Do the entire ReturnDest computation within make_return_dest
oli-obk Jan 31, 2024
432635a
Create ret_dest as late as possible in all code paths
oli-obk Jan 31, 2024
9a07437
Teach llvm backend how to fall back to default bodies
oli-obk Jan 31, 2024
6b73fe2
Give const_deallocate a default body
oli-obk Jan 31, 2024
f35a2bd
Support safe intrinsics with fallback bodies
oli-obk Feb 2, 2024
164b9c3
Add more tests
oli-obk Feb 2, 2024
376c7b9
Added sahf feature to windows targets
CKingX Feb 13, 2024
b16ff5c
Add `rustc_confusables` annotations to some stdlib APIs
estebank Feb 7, 2024
739edce
On type error of method call arguments, look at confusables for sugge…
estebank Feb 7, 2024
c5e9be4
drive-by fmt cleanup
estebank Feb 9, 2024
919b429
Provide more and more accurate suggestions when calling the wrong method
estebank Feb 9, 2024
84683fd
Consider methods from traits when suggesting typos
estebank Feb 10, 2024
274d929
Make confusable suggestions `verbose`
estebank Feb 10, 2024
e4820c5
fix test
estebank Feb 13, 2024
f5cd3df
Better account for associated const found for fn call expr
estebank Feb 13, 2024
ac23b72
Tweak wording of "implemented trait isn't imported" suggestion
estebank Feb 13, 2024
b49aa7c
Add `flatmap`/`flat_map` -> `and_then` suggestions
estebank Feb 14, 2024
997351d
review comments: clean up
estebank Feb 14, 2024
04884bc
Deduplicate some logic and reword output
estebank Feb 14, 2024
6139f99
fix test
estebank Feb 14, 2024
9a950a5
review comment: remove unnused return value
estebank Feb 14, 2024
5233bc9
Add an `ErrorGuaranteed` to `ast::TyKind::Err`.
nnethercote Feb 14, 2024
746a58d
Use generic `NonZero` internally.
reitermarkus Jan 29, 2024
a90cc05
Replace `NonZero::<_>::new` with `NonZero::new`.
reitermarkus Feb 8, 2024
b80fc5d
errors: only eagerly translate subdiagnostics
davidtwco Feb 14, 2024
bd546fb
add extra indent spaces for rust-playground link
chenyukang Feb 14, 2024
b277772
Improve wording of static_mut_ref
obeis Feb 15, 2024
3b791a4
simplify codegen for trivially droppable types
Nov 23, 2023
fe9bc1b
reduce amount of math
Nov 23, 2023
b13c926
reduce branchiness
Nov 23, 2023
064f972
outline large copies
Nov 23, 2023
a77d6b9
add codegen test
Nov 23, 2023
da1c7f6
address review comments
Feb 11, 2024
cc7b4e0
Update aarch64 target feature docs to match LLVM
adamgemmell Jan 25, 2024
5d65b19
Avoid debug logging entire MIR body
tmiasko Feb 15, 2024
c763f83
Only point out non-diverging arms for match suggestions
compiler-errors Feb 15, 2024
acb201a
make better async fn kind errors
compiler-errors Feb 14, 2024
6018e21
Remove a suggestion that is redundant
compiler-errors Feb 15, 2024
fdc56b6
doc: add note before panicking examples for strict_overflow_ops
tspiteri Feb 15, 2024
675d092
doc: panicking division by zero examples for unsigned strict div ops
tspiteri Feb 15, 2024
954d565
Fix closure kind docs
compiler-errors Feb 15, 2024
6be0e7e
Rollup merge of #118264 - lukas-code:optimized-draining, r=the8472
oli-obk Feb 15, 2024
eacf4b7
Rollup merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnay
oli-obk Feb 15, 2024
7fda64d
Rollup merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkin
oli-obk Feb 15, 2024
acd9bbb
Rollup merge of #120538 - kornelski:read-not-exact, r=m-ou-se
oli-obk Feb 15, 2024
1f1d765
Rollup merge of #120563 - reitermarkus:generic-nonzero-get, r=dtolnay
oli-obk Feb 15, 2024
c461e3b
Rollup merge of #120730 - estebank:confusable-api, r=oli-obk
oli-obk Feb 15, 2024
ee4e474
Rollup merge of #120741 - a1phyr:safe_buffer_advance, r=m-ou-se
oli-obk Feb 15, 2024
c0e421a
Rollup merge of #120777 - Marcondiro:unicode15-1, r=Manishearth
oli-obk Feb 15, 2024
f472e93
Rollup merge of #120820 - CKingX:cpu-base-minimum, r=petrochenkov
oli-obk Feb 15, 2024
e0b3180
Rollup merge of #120971 - PizzasBear:patch-1, r=Nilstrieb
oli-obk Feb 15, 2024
0baee2a
Rollup merge of #121034 - obeis:improve-static-mut-ref, r=RalfJung
oli-obk Feb 15, 2024
fcfe7c1
Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nneth…
oli-obk Feb 15, 2024
9b2f5fe
Rollup merge of #121095 - chenyukang:yukang-fix-120998-rust-playgroun…
oli-obk Feb 15, 2024
09a0938
Rollup merge of #121109 - nnethercote:TyKind-Err-guar-2, r=oli-obk
oli-obk Feb 15, 2024
c754b58
Rollup merge of #121119 - compiler-errors:async-fn-kind-errs, r=oli-obk
oli-obk Feb 15, 2024
a2d4641
Rollup merge of #121141 - compiler-errors:closure-kind-docs, r=nnethe…
oli-obk Feb 15, 2024
0659419
Rollup merge of #121145 - adamgemmell:dev/adagem01/combined-target-fe…
oli-obk Feb 15, 2024
f8d1ee8
Rollup merge of #121146 - compiler-errors:ignore-diverging-arms, r=es…
oli-obk Feb 15, 2024
7902d33
Rollup merge of #121147 - tmiasko:no-debug-body, r=compiler-errors
oli-obk Feb 15, 2024
f4df330
Rollup merge of #121155 - tspiteri:strict-doc-overflow, r=Nilstrieb
oli-obk Feb 15, 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
As Windows 10 requires certain features like CMPXCHG16B and a few oth…
…ers and Rust plans to set Windows 10 as the minimum supported OS for target x86_64-pc-windows-msvc, I have added the cmpxchg16b and sse3 feature (as CPUs that meet the Windows 10 64-bit requirement also support SSE3. See https://walbourn.github.io/directxmath-sse3-and-ssse3/ )
  • Loading branch information
CKingX authored Feb 9, 2024
commit d51e703534c49b5b658a954fe6d387c33ba0c5e3
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::spec::{base, SanitizerSet, Target};
pub fn target() -> Target {
let mut base = base::windows_msvc::opts();
base.cpu = "x86-64".into();
base.features = "+cmpxchg16b,+sse3".into();
base.plt_by_default = false;
base.max_atomic_width = Some(64);
base.supported_sanitizers = SanitizerSet::ADDRESS;
Expand Down