Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a42e74c

Browse filesBrowse files
fix: new cfg_match syntax
Signed-off-by: Anhad Singh <andypythonappdeveloper@gmail.com>
1 parent b83aa1d commit a42e74c
Copy full SHA for a42e74c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
  • src/aero_kernel/src/drivers
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/aero_kernel/src/drivers/mod.rs

Copy file name to clipboardExpand all lines: src/aero_kernel/src/drivers/mod.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ pub mod pty;
3636
pub mod tty;
3737

3838
cfg_match! {
39-
cfg(target_arch = "x86_64") => {
39+
target_arch = "x86_64" => {
4040
pub mod uart_16550;
4141
pub use self::uart_16550 as uart;
4242
}
4343

44-
cfg(target_arch = "aarch64") => {
44+
target_arch = "aarch64" => {
4545
pub mod uart_pl011;
4646
pub use self::uart_pl011 as uart;
4747
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.