• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Fuchsia Authors
2 //
3 // Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
4 // <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
5 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
6 // This file may not be copied, modified, or distributed except according to
7 // those terms.
8 
9 // See comment in `include.rs` for why we disable the prelude.
10 #![no_implicit_prelude]
11 #![allow(warnings)]
12 #![forbid(unexpected_cfgs)]
13 
14 include!("include.rs");
15 
16 // Make sure no unexpected `cfg`s are emitted by our derives (see #2117).
17 
18 #[derive(imp::KnownLayout)]
19 #[repr(C)]
20 pub struct Test(pub [u8; 32]);
21