1135 Commits

Author SHA1 Message Date
Antoni Boucher
56dc8de1db Switch to the new set_special_chars_allowed_in_func_names API 2024-03-01 12:21:31 -05:00
antoyo
d0ecf0c262
Merge pull request #458 from rust-lang/format-code
Format the code
2024-02-28 18:13:20 -05:00
Antoni Boucher
c2c68e3f4d Format the code 2024-02-28 17:49:16 -05:00
antoyo
6ec50107e6
Merge pull request #455 from tempdragon/master
feat(debuginfo): Add support for debuginfo, without scope support
2024-02-28 16:59:16 -05:00
tempdragon
7c3565e569 fix(builder.rs): Add space after self when necessary 2024-02-29 04:02:27 +08:00
tempdragon
9cc0a4204d fix(debuginfo.rs): Cleanup of redundant code.
1. Revert to the original `lookup_debug_loc` of DebugLoc return type
2. Removed the commented code of scope lookup
2024-02-29 03:56:17 +08:00
tempdragon
8c975d9861 fix(builder.rs): Rename r to rvalue in set_rval_location 2024-02-29 03:18:51 +08:00
tempdragon
fba0dae5fe fix(builder.rs): Apply a variable name change to func param. 2024-02-29 03:04:48 +08:00
tempdragon
e18d3c3dfd
fix(builder.rs): Apply suggestions from code review
Co-authored-by: antoyo <antoyo@users.noreply.github.com>
2024-02-29 03:00:46 +08:00
tempdragon
ef158f295e feat(debuginfo.rs): Add Comments on functions of LLVM Origin 2024-02-29 02:39:39 +08:00
tempdragon
eaeb54448e fix(base): Remove the set_debug_info() in compile_codegen_unit 2024-02-29 01:29:20 +08:00
tempdragon
51cd5f1c78
fix(code fmt): Apply style suggestions from code review
Co-authored-by: antoyo <antoyo@users.noreply.github.com>
2024-02-29 01:10:51 +08:00
tempdragon
09fd9087b6 fix(code fmt): builder.rs & base.rs 2024-02-28 11:38:44 +08:00
tempdragon
6170f48e3f fix(builder.rs): Add cfg(feature = "master") to set_location 2024-02-28 10:04:25 +08:00
tempdragon
5b053a3c3c fix(Cargo.lock): Update Cargo.lock 2024-02-28 09:18:22 +08:00
tempdragon
8879155e56 fix(libgccjit.version): Update GCC commit version 2024-02-28 09:09:56 +08:00
antoyo
64fc213926
Merge pull request #456 from GuillaumeGomez/clone-gcc
Add clone-gcc command
2024-02-27 13:34:42 -05:00
Guillaume Gomez
6560fecbdf Add documentation on git_clone_root_dir 2024-02-27 18:48:29 +01:00
Guillaume Gomez
aed59f0a51 Add clone-gcc command 2024-02-26 22:43:46 +01:00
tempdragon
2ffe9d1eef feat(int.rs&build.rs): Add location info to arithmetic operators
TODO:
1. Clean the unnecessary locations in builder.rs & int.rs
2. Add demangling support
3. Add debug scope support
4. Add vtable support
5. Clean up builder.rs locations
2024-02-24 20:12:08 +08:00
tempdragon
c638defad7 feat(debuginfo): Init Commit for debuginfo Support
TODO:
1. Add int.rs locations
2. Add demangling support
3. Add debug scope support
4. Add vtable support
5. Clean up builder.rs locations
2024-02-24 20:12:08 +08:00
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