-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
surtr: use usingnamespace to export ach code
Signed-off-by: smallkirby <[email protected]>
- Loading branch information
1 parent
4ff84c7
commit 6abccd8
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
//! Thin wrapper to access arch-specific modules. | ||
|
||
const builtin = @import("builtin"); | ||
pub const impl = switch (builtin.target.cpu.arch) { | ||
pub usingnamespace switch (builtin.target.cpu.arch) { | ||
.x86_64 => @import("arch/x86/arch.zig"), | ||
else => @compileError("Unsupported architecture."), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters