Commit Graph

1114 Commits

Author SHA1 Message Date
antoyo
2262073092
Merge pull request #454 from rust-lang/update/gcc
Update gcc version
2024-02-23 12:51:42 -05:00
Antoni Boucher
bb5b75f28d Update gcc version 2024-02-23 12:32:14 -05:00
antoyo
2e67633d3c
Merge pull request #452 from GuillaumeGomez/master-cfg
Remove unused `feature = "master"` cfg in build_system
2024-02-21 09:28:12 -05:00
Guillaume Gomez
114c25feeb Pass --no-default-features to codegen as well 2024-02-21 14:58:04 +01:00
Guillaume Gomez
d2210d4976 Correctly pass --no-default-features when argument is passed 2024-02-21 14:42:24 +01:00
Guillaume Gomez
b87de7325f Correctly handle "master" feature 2024-02-21 14:31:34 +01:00
antoyo
e785093382
Merge pull request #450 from rust-lang/sync_from_rust_2024_02_20
Sync from rust 2024/02/20
2024-02-20 17:01:46 -05:00
Antoni Boucher
e7b7c98e1c Fix tests 2024-02-20 12:02:09 -05:00
Antoni Boucher
c3d5b7fe3b Fix patches 2024-02-20 10:42:37 -05:00
Antoni Boucher
f6e16e95df Merge branch 'master' into sync_from_rust_2024_02_20 2024-02-20 10:24:06 -05:00
Antoni Boucher
6bbbf59951 Update to nightly-2024-02-20 2024-02-20 10:23:05 -05:00
antoyo
3e02db23af
Merge pull request #446 from sadlerap/fix-simd-gather
fix tests/ui/simd/issue-89193.rs and mark as passing
2024-02-18 14:26:57 -05:00
Andy Sadler
4ec4209ff5
use default as output type source in simd_gather
Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2024-02-18 12:40:20 -06:00
antoyo
7600140979
Merge pull request #447 from tempdragon/master
feat(Cargo.toml): Set `rustc_private` to `true` to allow lsp parsing
2024-02-18 07:43:41 -05:00
bors
c350ae83e8 Auto merge of #121034 - obeis:improve-static-mut-ref, r=RalfJung
Improve wording of `static_mut_ref`

Close #120964
2024-02-18 08:00:34 +00:00
tempdragon
1f34c881e8 feat(Cargo.toml): Set rustc_private to true to allow lsp parsing 2024-02-18 14:36:39 +08:00
Obei Sideg
b959fc1d0a Improve wording of static_mut_ref
Rename `static_mut_ref` lint to `static_mut_refs`.
2024-02-18 06:01:40 +03:00
Andy Sadler
087456f122
mark tests/ui/simd/issue-89193.rs as failing for libgccjit12
Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2024-02-17 18:07:11 -06:00
Andy Sadler
5ac9bee7f1
fix tests/ui/simd/issue-89193.rs and mark as passing
Work around an issue where usize and isize can sometimes (but not
always) get canonicalized to their corresponding integer type.  This
causes shuffle_vector to panic, since the types of the vectors it got
passed aren't the same.

Also insert a cast on the mask element, since we might get passed a
signed integer of any size, not just i32.  For now, we always cast to
i32.

Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
2024-02-17 17:24:46 -06:00
antoyo
32523557e7
Merge pull request #440 from rust-lang/use-default-mangling
Use the default rust mangling
2024-02-17 16:19:35 -05:00
Antoni Boucher
e116cb7811 Fix to use the correct libgccjit for the CI where 128-bit integers are disabled 2024-02-17 15:16:09 -05:00
Guillaume Gomez
1d171ae0cd
Merge pull request #445 from rust-lang/revert-432-master
Revert "Use shallow clone in test.rs to reduce cloning overhead"
2024-02-17 20:31:39 +01:00
Guillaume Gomez
0a66c555bd
Revert "Use shallow clone in test.rs to reduce cloning overhead" 2024-02-17 20:04:17 +01:00
Guillaume Gomez
79c8780d84
Merge pull request #432 from tempdragon/master
Use shallow clone in test.rs to reduce cloning overhead
2024-02-17 20:01:28 +01:00
Matthias Krüger
bd53510a9f Rollup merge of #121209 - nnethercote:infallible-join_codegen, r=bjorn3
Make `CodegenBackend::join_codegen` infallible.

Because they all are, in practice.

r? ```@bjorn3```
2024-02-17 18:47:42 +01:00
Matthias Krüger
e9aa2540c3 Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercote
errors: only eagerly translate subdiagnostics

Subdiagnostics don't need to be lazily translated, they can always be eagerly translated. Eager translation is slightly more complex as we need to have a `DiagCtxt` available to perform the translation, which involves slightly more threading of that context.

This slight increase in complexity should enable later simplifications - like passing `DiagCtxt` into `AddToDiagnostic` and moving Fluent messages into the diagnostic structs rather than having them in separate files (working on that was what led to this change).

r? ```@nnethercote```
2024-02-17 18:47:40 +01:00
antoyo
3c6a265ae4
Merge pull request #444 from GuillaumeGomez/improve-docs
Improve docs
2024-02-17 12:30:47 -05:00
Guillaume Gomez
79316d4e83 Split Readme even further 2024-02-17 17:58:29 +01:00
Guillaume Gomez
cb14f43de6 Improve instructions to start working on the project 2024-02-17 17:04:32 +01:00
Guillaume Gomez
6bdcc3c4c7 Move subtree part of Readme into its own doc file 2024-02-17 16:59:30 +01:00
Nicholas Nethercote
7b1ac28f1c Make CodegenBackend::join_codegen infallible.
Because they all are, in practice.
2024-02-17 10:51:35 +11:00
Antoni Boucher
af289a5eac Use the default rust mangling 2024-02-16 11:13:26 -05:00
antoyo
e69f125758
Merge pull request #438 from GuillaumeGomez/master-feature-default
Put back `master` feature as default
2024-02-15 09:00:03 -05:00
Guillaume Gomez
98c1efd5b6 Put back master feature as default 2024-02-15 12:30:43 +01:00
David Wood
ec5328b3d9 errors: only eagerly translate subdiagnostics
Subdiagnostics don't need to be lazily translated, they can always be
eagerly translated. Eager translation is slightly more complex as we need
to have a `DiagCtxt` available to perform the translation, which involves
slightly more threading of that context.

This slight increase in complexity should enable later simplifications -
like passing `DiagCtxt` into `AddToDiagnostic` and moving Fluent messages
into the diagnostic structs rather than having them in separate files
(working on that was what led to this change).

Signed-off-by: David Wood <david@davidtw.co>
2024-02-15 10:34:41 +00:00
antoyo
77b980451d
Merge pull request #437 from rust-lang/dummy-emit-ir
Implement dummy emit=llvm-ir
2024-02-14 12:27:14 -05:00
Antoni Boucher
de57533e56 Implement dummy emit=llvm-ir 2024-02-14 09:38:56 -05:00
antoyo
826a20be1d
Merge pull request #436 from GuillaumeGomez/cleanup-patches
Move `crates_patches` and `cross_patches` into the `patches` folder
2024-02-14 09:31:53 -05:00
Guillaume Gomez
ebac107a55 Remove paths that don't exist anymore from file 2024-02-14 15:11:34 +01:00
Guillaume Gomez
a883c6da20 Move crates_patches and cross_patches into the patches folder 2024-02-14 13:35:20 +01:00
tempdragon
17e329777f feat(test.rs): Lookup the commit with cat-file to avoid re-fetches 2024-02-14 17:59:16 +08:00
tempdragon
452ebf5f37 feat(test.rs): Clone only 1 layer in build_system 2024-02-14 08:12:10 +08:00
antoyo
6afabceaa6
Merge pull request #435 from GuillaumeGomez/clean-up-repo
Generate content into `build` folder
2024-02-13 18:16:24 -05:00
Guillaume Gomez
46d6e772c0 Update tests/lang_tests_common.rs test 2024-02-13 22:11:31 +01:00
Guillaume Gomez
436fea8efb Add build folder into the ignored git entries 2024-02-13 22:11:31 +01:00
Guillaume Gomez
896b1a9049 Generate libgccjit.so into the build folder 2024-02-13 22:11:31 +01:00
Guillaume Gomez
267aaef81d Move some top-level folders into build 2024-02-13 22:11:31 +01:00
antoyo
7faff65296
Merge pull request #434 from rust-lang/fix/platform-specific-function
Rework the download function to only contain the platform-specific code
2024-02-13 11:17:12 -05:00
antoyo
ac708d9485
Merge pull request #430 from GuillaumeGomez/download-config
Add `download` config
2024-02-13 10:49:10 -05:00
Guillaume Gomez
b80a99922b Improve code readability and add more code comments 2024-02-13 15:43:42 +01:00