Skip to content

Commit b6f94de

Browse files
authored
Update config.toml
Signed-off-by: Nehal Aditya <nehaladityaresearch@outlook.com>
1 parent bcd44bc commit b6f94de

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎rust/.cargo/config.toml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ target = "x86_64-unknown-none"
88
# --- x86_64 Bare-Metal Target Configuration ---
99
[target.x86_64-unknown-none]
1010
rustflags = [
11-
"-C", "link-arg=-nostartfiles",
11+
"-C", "link-arg=--entry=kernel_entry",
1212
]
1313

14-
# --- AArch64 Bare-Metal (64-bit ARM) Target Configuration ---
14+
# --- AArch64 Bare-Metal Target Configuration ---
1515
[target.aarch64-unknown-none]
1616
rustflags = [
17-
"-C", "link-arg=-nostartfiles",
17+
"-C", "link-arg=--entry=kernel_entry",
1818
]
1919

20-
# --- RISC-V Bare-Metal (64-bit) Target Configuration ---
20+
# --- RISC-V Bare-Metal Target Configuration ---
2121
[target.riscv64imac-unknown-none-elf]
2222
rustflags = [
23-
"-C", "link-arg=-nostartfiles",
23+
"-C", "link-arg=--entry=kernel_entry",
2424
]

0 commit comments

Comments
 (0)