]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #87922 - Manishearth:c-enum-target-spec, r=nagisa,eddyb
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 12 Aug 2021 17:04:14 +0000 (10:04 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Aug 2021 17:04:14 +0000 (10:04 -0700)
commit692833a28fd7c2ddd870ef84c4b93ae2584275ee
tree884cbffe914dfbdb069ea1584ff33f793fcdbdf7
parentdf23264f8043ee82e3f977ee46c38651fb6282fc
parent4c0e4244614f0d1d548c353e695aa1e2a67da7d6
Rollup merge of #87922 - Manishearth:c-enum-target-spec, r=nagisa,eddyb

Add c_enum_min_bits target spec field, use for arm-none and thumb-none targets

Fixes https://github.com/rust-lang/rust/issues/87917

<s>Haven't tested this yet, still playing around.</s>

This seems to fix the issue.
compiler/rustc_target/src/spec/mod.rs