File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1141,12 +1141,21 @@ pub enum ExceptionVector {
1141
1141
/// }
1142
1142
///
1143
1143
/// // set only one entry
1144
+ /// # // there seems to be a bug in LLVM that causes rustc to crash on windows when compiling this test:
1145
+ /// # // https://github.com/rust-osdev/x86_64/pull/285#issuecomment-962642984
1146
+ /// # #[cfg(not(windows))]
1144
1147
/// set_general_handler!(&mut idt, my_general_handler, 14);
1145
1148
///
1146
1149
/// // set a range of entries
1150
+ /// # // there seems to be a bug in LLVM that causes rustc to crash on windows when compiling this test:
1151
+ /// # // https://github.com/rust-osdev/x86_64/pull/285#issuecomment-962642984
1152
+ /// # #[cfg(not(windows))]
1147
1153
/// set_general_handler!(&mut idt, my_general_handler, 32..64);
1148
1154
///
1149
1155
/// // set all entries
1156
+ /// # // there seems to be a bug in LLVM that causes rustc to crash on windows when compiling this test:
1157
+ /// # // https://github.com/rust-osdev/x86_64/pull/285#issuecomment-962642984
1158
+ /// # #[cfg(not(windows))]
1150
1159
/// set_general_handler!(&mut idt, my_general_handler);
1151
1160
/// ```
1152
1161
macro_rules! set_general_handler {
You can’t perform that action at this time.
0 commit comments