| Age | Commit message (Collapse) | Author | Lines |
|
centralize clockid_t interpretation
|
|
Assembly-related configuration was added in 1621c6dbf9eb ("Use
`specialized-div-rem` 1.0.0 for division algorithms") to account for
Cranelift not yet supporting assembly. This hasn't been relevant for a
while, so we no longer need to gate `asm!` behind this configuration.
Thus, remove `cfg(not(feature = "no-asm"))` in places where there is no
generic fallback.
There are other cases, however, where setting the `no-asm` configuration
enables testing of generic version of builtins when there are platform-
specific implementations available; these cases are left unchanged. This
could be improved in the future by exposing both versions for testing
rather than using a configuration and running the entire testsuite
twice.
This is the compiler-builtins portion of
https://github.com/rust-lang/rust/pull/144471.
|
|
fix: Consider all produced artifacts for proc-macro dylib search
|
|
Fixes: https://github.com/rust-lang/compiler-builtins/issues/837
The assembly is based on
- https://github.com/NetBSD/src/blob/20433927938987dd64c8f6aa46904b7aca3fa39e/lib/libm/arch/i387/s_floor.S
- https://github.com/NetBSD/src/blob/20433927938987dd64c8f6aa46904b7aca3fa39e/lib/libm/arch/i387/s_ceil.S
Which both state
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
*/
Which I believe means we're good in terms of licensing.
|
|
|
|
|
|
fix: Ignore `Destruct` bounds again
|
|
|
|
|
|
|
|
|
|
fix: Fix incorrect build script version check
|
|
|
|
Preintern some `TyKind::Bound` values
The new trait solver produces a lot of these.
r? `@compiler-errors`
|
|
default alignments.
|
|
internal: Fix lockfile temp dir usage and use it for build scripts as well
|
|
|
|
|
|
Avoid unnecessary `new_adt`/`new_fn_def` calls.
They can be skipped if there are no arguments, avoiding the "relate" operation work and also the subsequent interning.
r? `@ghost`
|
|
Add support for building and linking against genmc
|
|
|
|
Migrate part of utils.rs to use SyntaxEditor
|
|
|
|
|
|
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
|
|
SyntaxEditor
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
|
|
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
|
|
|
|
|
|
|
|
Changes `MaybeIncorret` to `MaybeIncorrect`.
And since this is part of a doc comment, it might as well be a link.
changelog: none
|
|
Changes `MaybeIncorret` to `MaybeIncorrect`.
And since this is part of a doc comment, it might as well be a link.
changelog: none
|
|
madhav-madhusoodanan/intrinsic-test-generate-only-support
`intrinsic-test`: bringing back support for --generate-only flag
|
|
Resolve: refactor `define` into `define_local` and `define_extern`
Follow up on rust-lang/rust#143550 and part of [#gsoc > Project: Parallel Macro Expansion](https://rust-lang.zulipchat.com/#narrow/channel/421156-gsoc/topic/Project.3A.20Parallel.20Macro.20Expansion/with/527348747).
Split up `define` into `define_local` and `define_extern`. Refactor usages of `define` into either one where it's "correct" (idk if everything is correct atm). Big part of this is that `resolution` can now take a `&Resolver` instead of a mutable one.
r? `@petrochenkov`
|
|
|
|
introduce a macro for shim signature checking
|
|
Closes rust-lang/rust-clippy#15061
changelog: [`let_unit_value`] fix wrong suggestions for format macros
|
|
(#15345)
…rom a macro
changelog: [`unnecessary_map_or`]: don't add parens if the parent expr
comes from a macro
fixes rust-lang/rust-clippy#14714
|
|
|
|
|
|
Co-Authored-By: geetanshjuneja <ronitjuneja2002@gmail.com>
|
|
Closes rust-lang/rust-clippy#15349
changelog: [`empty_structs_with_brackets`] fix wrong suggestions on
generics
|
|
|
|
|
|
In obscure circumstances, we would sometimes emit a covfun record for a
function with no physical coverage counters, causing `llvm-cov` to fail with
the cryptic error message:
malformed instrumentation profile data: function name is empty
We can eliminate this mismatch by removing `instances_used` entirely, and
instead inferring its contents from the keys of `pgo_func_name_var_map`.
This makes it impossible for a "used" function to lack a PGO name entry.
|
|
recursive non-enum types
|
|
Use `TempDir` for copied lockfiles
|
|
madhav-madhusoodanan/intrinsic-test-argument-cleanup
Feat: updated Argument<T> type for functional compatibility with other architectures
|
|
call_function helper: dont ICE on return type mismatches
|
|
|