tg-rcore-tutorial-user 0.4.2-preview.1

User-space apps for rCore Tutorial chapters (subset for ch2).
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "tg-rcore-tutorial-user"
version = "0.4.2-preview.1"
authors = ["YdrMaster <ydrml@hotmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "User-space apps for rCore Tutorial chapters (subset for ch2)."
homepage = "https://github.com/rcore-os/tg-rcore-tutorial/tree/singledev"
documentation = "https://docs.rs/tg-user"
readme = "README.md"
keywords = [
    "rcore",
    "tutorial",
    "no-std",
    "riscv",
    "user-apps",
]
categories = [
    "no-std",
    "embedded",
]
license = "GPL-3.0"
repository = "https://github.com/rcore-os/tg-rcore-tutorial"
resolver = "1"

[lib]
name = "user_lib"
path = "src/lib.rs"

[[bin]]
name = "00hello_world"
path = "src/bin/00hello_world.rs"

[[bin]]
name = "01store_fault"
path = "src/bin/01store_fault.rs"

[[bin]]
name = "02power"
path = "src/bin/02power.rs"

[[bin]]
name = "03priv_inst"
path = "src/bin/03priv_inst.rs"

[[bin]]
name = "04priv_csr"
path = "src/bin/04priv_csr.rs"

[[bin]]
name = "05write_a"
path = "src/bin/05write_a.rs"

[[bin]]
name = "06write_b"
path = "src/bin/06write_b.rs"

[[bin]]
name = "07write_c"
path = "src/bin/07write_c.rs"

[[bin]]
name = "08power_3"
path = "src/bin/08power_3.rs"

[[bin]]
name = "09power_5"
path = "src/bin/09power_5.rs"

[[bin]]
name = "10power_7"
path = "src/bin/10power_7.rs"

[[bin]]
name = "11sleep"
path = "src/bin/11sleep.rs"

[[bin]]
name = "12forktest"
path = "src/bin/12forktest.rs"

[[bin]]
name = "13forktree"
path = "src/bin/13forktree.rs"

[[bin]]
name = "14forktest2"
path = "src/bin/14forktest2.rs"

[[bin]]
name = "15matrix"
path = "src/bin/15matrix.rs"

[[bin]]
name = "cat_filea"
path = "src/bin/cat_filea.rs"

[[bin]]
name = "ch3_sleep"
path = "src/bin/ch3_sleep.rs"

[[bin]]
name = "ch3_sleep1"
path = "src/bin/ch3_sleep1.rs"

[[bin]]
name = "ch3_trace"
path = "src/bin/ch3_trace.rs"

[[bin]]
name = "ch4_mmap"
path = "src/bin/ch4_mmap.rs"

[[bin]]
name = "ch4_mmap1"
path = "src/bin/ch4_mmap1.rs"

[[bin]]
name = "ch4_mmap2"
path = "src/bin/ch4_mmap2.rs"

[[bin]]
name = "ch4_mmap3"
path = "src/bin/ch4_mmap3.rs"

[[bin]]
name = "ch4_trace"
path = "src/bin/ch4_trace.rs"

[[bin]]
name = "ch4_unmap"
path = "src/bin/ch4_unmap.rs"

[[bin]]
name = "ch4_unmap2"
path = "src/bin/ch4_unmap2.rs"

[[bin]]
name = "ch5_exit0"
path = "src/bin/ch5_exit0.rs"

[[bin]]
name = "ch5_exit1"
path = "src/bin/ch5_exit1.rs"

[[bin]]
name = "ch5_getpid"
path = "src/bin/ch5_getpid.rs"

[[bin]]
name = "ch5_setprio"
path = "src/bin/ch5_setprio.rs"

[[bin]]
name = "ch5_spawn0"
path = "src/bin/ch5_spawn0.rs"

[[bin]]
name = "ch5_spawn1"
path = "src/bin/ch5_spawn1.rs"

[[bin]]
name = "ch5_stride"
path = "src/bin/ch5_stride.rs"

[[bin]]
name = "ch5_stride0"
path = "src/bin/ch5_stride0.rs"

[[bin]]
name = "ch5_stride1"
path = "src/bin/ch5_stride1.rs"

[[bin]]
name = "ch5_stride2"
path = "src/bin/ch5_stride2.rs"

[[bin]]
name = "ch5_stride3"
path = "src/bin/ch5_stride3.rs"

[[bin]]
name = "ch5_stride4"
path = "src/bin/ch5_stride4.rs"

[[bin]]
name = "ch5_stride5"
path = "src/bin/ch5_stride5.rs"

[[bin]]
name = "ch5_usertest"
path = "src/bin/ch5_usertest.rs"

[[bin]]
name = "ch5b_usertest"
path = "src/bin/ch5b_usertest.rs"

[[bin]]
name = "ch6_file0"
path = "src/bin/ch6_file0.rs"

[[bin]]
name = "ch6_file1"
path = "src/bin/ch6_file1.rs"

[[bin]]
name = "ch6_file2"
path = "src/bin/ch6_file2.rs"

[[bin]]
name = "ch6_file3"
path = "src/bin/ch6_file3.rs"

[[bin]]
name = "ch6_usertest"
path = "src/bin/ch6_usertest.rs"

[[bin]]
name = "ch6b_usertest"
path = "src/bin/ch6b_usertest.rs"

[[bin]]
name = "ch7b_usertest"
path = "src/bin/ch7b_usertest.rs"

[[bin]]
name = "ch8_deadlock_mutex1"
path = "src/bin/ch8_deadlock_mutex1.rs"

[[bin]]
name = "ch8_deadlock_sem1"
path = "src/bin/ch8_deadlock_sem1.rs"

[[bin]]
name = "ch8_deadlock_sem2"
path = "src/bin/ch8_deadlock_sem2.rs"

[[bin]]
name = "ch8_usertest"
path = "src/bin/ch8_usertest.rs"

[[bin]]
name = "ch8b_usertest"
path = "src/bin/ch8b_usertest.rs"

[[bin]]
name = "filetest_simple"
path = "src/bin/filetest_simple.rs"

[[bin]]
name = "fork_exit"
path = "src/bin/fork_exit.rs"

[[bin]]
name = "forktest_simple"
path = "src/bin/forktest_simple.rs"

[[bin]]
name = "initproc"
path = "src/bin/initproc.rs"

[[bin]]
name = "mpsc_sem"
path = "src/bin/mpsc_sem.rs"

[[bin]]
name = "phil_din_mutex"
path = "src/bin/phil_din_mutex.rs"

[[bin]]
name = "pipe_large_test"
path = "src/bin/pipe_large_test.rs"

[[bin]]
name = "pipetest"
path = "src/bin/pipetest.rs"

[[bin]]
name = "race_adder_mutex_blocking"
path = "src/bin/race_adder_mutex_blocking.rs"

[[bin]]
name = "sbrk"
path = "src/bin/sbrk.rs"

[[bin]]
name = "sig_ctrlc"
path = "src/bin/sig_ctrlc.rs"

[[bin]]
name = "sig_simple"
path = "src/bin/sig_simple.rs"

[[bin]]
name = "sig_simple2"
path = "src/bin/sig_simple2.rs"

[[bin]]
name = "sig_tests"
path = "src/bin/sig_tests.rs"

[[bin]]
name = "sync_sem"
path = "src/bin/sync_sem.rs"

[[bin]]
name = "test_condvar"
path = "src/bin/test_condvar.rs"

[[bin]]
name = "threads"
path = "src/bin/threads.rs"

[[bin]]
name = "threads_arg"
path = "src/bin/threads_arg.rs"

[[bin]]
name = "user_shell"
path = "src/bin/user_shell.rs"

[dependencies.customizable-buddy]
version = "0.0.2"

[dependencies.tg-console]
version = "0.4.2-preview.1"

[dependencies.tg-syscall]
version = "0.4.2-preview.1"
features = ["user"]

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"