Skip to content

Commit 869afb1

Browse files
committed
Bump version to the bit 0.1.0 and remove extern C declaration for eh_personality
1 parent 7372a5c commit 869afb1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "teensycore"
33
authors = ["Joshua Cole"]
4-
version = "0.0.15"
4+
version = "0.1.0"
55
license = "MIT"
66
repository = "https://github.com/SharpCoder/teensycore"
77
documentation = "https://docs.rs/crate/teensycore/latest"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ crate-type = ["staticlib"]
3030
path = "src/lib.rs"
3131
3232
[dependencies]
33-
teensycore = "^0.0.15"
33+
teensycore = "^0.1.0"
3434
```
3535

3636
Teensycore exports a convenient macro that helps to configure the entrypoint of your application. It takes care of the default panic handler, initializing system clocks, setting up irq, enabling debug UART, and much more. In this way, you can just focus on what your project needs to get going. Replace your `src/lib.rs` with something like this:

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ macro_rules! main {
116116

117117
#[lang = "eh_personality"]
118118
#[no_mangle]
119-
pub extern "C" fn eh_personality() {}
119+
pub fn eh_personality() {}
120+
120121
#[panic_handler]
121122
#[no_mangle]
122123
pub fn my_panic(_info: &core::panic::PanicInfo) -> ! {

0 commit comments

Comments
 (0)