fix ZST handling for Windows ABIs on MSVC target
This commit is contained in:
parent
67951d946a
commit
d760bb6603
10 changed files with 130 additions and 275 deletions
|
@ -192,6 +192,10 @@ pub fn is_enabled(
|
|||
s
|
||||
}
|
||||
|
||||
/// Returns whether the ABI is stable to use.
|
||||
///
|
||||
/// Note that there is a separate check determining whether the ABI is even supported
|
||||
/// on the current target; see `fn is_abi_supported` in `rustc_target::spec`.
|
||||
pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
|
||||
match name {
|
||||
// Stable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue