riscv-rust / k210-pac

Peripheral access API crate (PAC) for K210 SoC, generated by svd2rust
29 stars 23 forks source link

Remove work-around for pcrel issue #26

Closed laanwj closed 4 years ago

laanwj commented 5 years ago

With rust-lang/rust#62281, rust compiles in mcmodel=medium mode by default and this work-around is no longer needed.

I don't think this can be merged yet for the forseeable future, until the above is in stable, but I've tested this and it works!

laanwj commented 4 years ago

It looks like rustc 1.38.0 doesn't need this workaround anymore.

Disasm commented 4 years ago

Yay! Thanks!