I think that the various demos here should declare the exported functions with extern -- at any rate, I needed to do so to get a minimal example working when built with cargo, after following the setup instructions here.
Yes, as mentioned on Twitter before these work more or less "by accident". I just didn't sit for long enough infront of my computer to fix them. I might get around it tomorrow.