Our great sponsors
-
The reason we are providing our own hasher is that the default one relies on the sys crate which is platform dependent. Our platform being unsupported, the associated implementation either does nothing or fails.
-
cd # We need to move out of the "microbit" folder we created earlier sudo apt install --yes git git clone https://gitlab.com/cyril-marpaud/microbit_vec_hashmap.git cd microbit_vec_hashmap/alphabet cargo embed
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Luckily, the embedded-alloc crate provides us with one (there is a complete example in the associated Github repository). We also need the cortex-m crate to handle critical sections. Add them to the project's dependencies like so: