]> git.proxmox.com Git - proxmox.git/commit
lang: drop commented-out c_str! implementation variants
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 24 May 2024 10:56:41 +0000 (12:56 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 24 May 2024 10:58:06 +0000 (12:58 +0200)
commit484f12f3aa222dfd54e501c457477ad066853c4b
treeb46489b16a22e3917bc94349b5704f55da8fb7d2
parent1d68cc33a3598b255c123527e98f68b12eba76ff
lang: drop commented-out c_str! implementation  variants

This was an old version of a const-fn compatible checked c_str
implementation which was never enabled.

When we get rust 1.72, `CStr::from_bytes_with_nul` becomes usable in
const contexts.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-lang/src/lib.rs