Skip to content

Commit 5a32a69

Browse files
init version: cargo clone arceos-helloworld
1 parent cf199f8 commit 5a32a69

File tree

9 files changed

+53
-81
lines changed

9 files changed

+53
-81
lines changed

Cargo.toml

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,44 @@
1+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2+
#
3+
# When uploading crates to the registry Cargo will automatically
4+
# "normalize" Cargo.toml files for maximal compatibility
5+
# with all versions of Cargo and also rewrite `path` dependencies
6+
# to registry (e.g., crates.io) dependencies.
7+
#
8+
# If you are reading this file be aware that the original Cargo.toml
9+
# will likely look very different (and much more reasonable).
10+
# See Cargo.toml.orig for the original contents.
11+
112
[package]
13+
edition = "2024"
214
name = "arceos-helloworld"
315
version = "0.1.0"
4-
edition = "2021"
516
authors = ["Yuekai Jia <equation618@gmail.com>"]
17+
build = false
18+
autolib = false
19+
autobins = false
20+
autoexamples = false
21+
autotests = false
22+
autobenches = false
23+
description = "A simple helloworld example for ArceOS"
624
homepage = "https://github.com/arceos-org/arceos"
7-
repository = "https://github.com/arceos-org/app-helloworld"
25+
readme = false
26+
keywords = [
27+
"arceos",
28+
"example",
29+
]
30+
categories = [
31+
"os",
32+
"no-std",
33+
]
34+
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
35+
repository = "https://github.com/arceos-org/arceos/tree/main/examples/helloworld"
36+
resolver = "2"
37+
38+
[[bin]]
39+
name = "arceos-helloworld"
40+
path = "src/main.rs"
841

9-
[dependencies]
10-
axstd = { git = "https://github.com/arceos-org/arceos.git", optional = true }
42+
[dependencies.axstd]
43+
version = "0.2.2-preview.1"
44+
optional = true

Cargo.toml.orig

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

img/demo.gif

-540 KB
Binary file not shown.

scripts/config.toml.temp

Lines changed: 0 additions & 2 deletions
This file was deleted.

scripts/get_deps.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

scripts/set_ax_root.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#[cfg(feature = "axstd")]
55
use axstd::println;
66

7-
#[cfg_attr(feature = "axstd", no_mangle)]
7+
#[cfg_attr(feature = "axstd", unsafe(no_mangle))]
88
fn main() {
99
println!("Hello, world!");
1010
}

0 commit comments

Comments
 (0)