diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-07-25 17:36:25 -0500 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-07-27 16:39:31 -0500 |
| commit | 16cb37c9574b35a3b54c7aa3604f328347f304ab (patch) | |
| tree | 28a784ae5e715b833cc901a22c7e8af6670cd480 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 9c683d3487d8966dad182bc7ad2524bf0bb6d797 (diff) | |
| download | rust-16cb37c9574b35a3b54c7aa3604f328347f304ab.tar.gz rust-16cb37c9574b35a3b54c7aa3604f328347f304ab.zip | |
Remove `no-asm` gating when there is no alternative implementation
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.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
