about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-11-09 19:21:21 +0530
committerGitHub <noreply@github.com>2022-11-09 19:21:21 +0530
commit1db7f690b19408b4ae86a13f74a8181a1c74721d (patch)
treed8904190ce96ee74c6e67febaf07b51bc17bd80d /compiler/rustc_codegen_llvm/src
parent0aaad9e757207657064d70bf9e6c1e6eb327bf15 (diff)
parent9e36fd926c80dc096d580b762658f07cb976da86 (diff)
downloadrust-1db7f690b19408b4ae86a13f74a8181a1c74721d.tar.gz
rust-1db7f690b19408b4ae86a13f74a8181a1c74721d.zip
Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcm
Stabilize integer logarithms

Stabilizes feature `int_log`.

I've also made the functions const stable, because they don't depend on any unstable const features. `rustc_allow_const_fn_unstable` is just there for `Option::expect`, which could be replaced with a `match` and `panic!`. cc ``@rust-lang/wg-const-eval``

closes https://github.com/rust-lang/rust/issues/70887 (tracking issue)

~~blocked on FCP finishing: https://github.com/rust-lang/rust/issues/70887#issuecomment-1289028216~~
FCP finished: https://github.com/rust-lang/rust/issues/70887#issuecomment-1302121266
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions