Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commita42e74c

Browse files
fix: new cfg_match syntax
Signed-off-by: Anhad Singh <andypythonappdeveloper@gmail.com>
1 parentb83aa1d commita42e74c

File tree

1 file changed

+2
-2
lines changed
  • src/aero_kernel/src/drivers

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ pub mod pty;
3636
pubmod tty;
3737

3838
cfg_match!{
39-
cfg(target_arch ="x86_64") =>{
39+
target_arch ="x86_64" =>{
4040
pubmod uart_16550;
4141
pubuseself::uart_16550as uart;
4242
}
4343

44-
cfg(target_arch ="aarch64") =>{
44+
target_arch ="aarch64" =>{
4545
pubmod uart_pl011;
4646
pubuseself::uart_pl011as uart;
4747
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp