Skip to main content

ptx_parser/type/instruction/
trap.rs

1//! Original PTX specification:
2//!
3//! trap;
4
5#![allow(unused)]
6use crate::r#type::common::*;
7
8pub mod section_0 {
9    use crate::Spanned;
10    use crate::parser::Span;
11    use crate::r#type::common::*;
12
13    use serde::Serialize;
14
15    #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
16    pub struct Trap {
17        pub span: Span,
18    }
19}
20
21// Re-export types with section suffixes to avoid naming conflicts
22// e.g., Type0 for section_0::Type, Type1 for section_1::Type
23pub use section_0::Trap;