File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # libtock-core
2
+
3
+ Core crate of ` libtock-rs ` . It contains the architecture specific code of ` libtock-rs ` . In particular:
4
+
5
+ * the entry point
6
+ * ` panic ` and ` alloc_error ` handlers
7
+ * the syscalls
8
+ * the allocator (optional)
9
+
10
+ It has three important feature flags
11
+
12
+ * ` alloc ` - allow for heap. Enables a linked list allocator.
13
+ * ` custom_panic_handler ` - disable the default panic handler and allow definition of a custom one using ` #[panic_handler] `
14
+ * ` custom_alloc_error_handler ` - disable the default alloc error handler and allow definition of a custom one using ` #[alloc_error_handler] `
15
+
16
+ ## License
17
+
18
+ Licensed under either of
19
+
20
+ - Apache License, Version 2.0
21
+ ([ LICENSE-APACHE] ( LICENSE-APACHE ) or http://www.apache.org/licenses/LICENSE-2.0 )
22
+ - MIT license
23
+ ([ LICENSE-MIT] ( LICENSE-MIT ) or http://opensource.org/licenses/MIT )
24
+
25
+ at your option.
26
+
27
+ ### Contribution
28
+
29
+ Unless you explicitly state otherwise, any contribution intentionally submitted
30
+ for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
31
+ dual licensed as above, without any additional terms or conditions.
32
+
33
+ The contribution guidelines are identical to those of ` libtock-rs ` and can be found here: [ contribution guidelines] ( ../CONTRIBUTING.md )
You can’t perform that action at this time.
0 commit comments