Closed
Description
#1536 added the ability to mark functions as const, along with a test in https://github.com/rust-lang/libc/blob/42e5708d3c0cfcf68f6ffea45eed7e1732dbd7ec/tests/const_fn.rs. Unfortunately this file is completely dead due to the combination of #[cfg(target_os = "linux")]
in it and the behavior introduced in 3eb4a48 which skips building the libc crate when docker: true
, which is the case for all linuxes.
This all culminated in the fact that #4105 broke const functions and #4134 failed to fix it in the --no-default-features
case. This remains broken.
EDIT: all releases after 0.2.163 which do not contain a fix for this should be yanked.