nrf-rs / microbit

A Rust crate for BBC micro:bit development
BSD Zero Clause License
276 stars 61 forks source link

Bump version to v0.10.0 #51

Closed robyoung closed 3 years ago

robyoung commented 3 years ago

Depends on #50

therealprof commented 3 years ago

Any instructions on how to release this?

robyoung commented 3 years ago

Any instructions on how to release this?

I'm not sure I'm afraid. I would guess you just cargo publish in each workspace member but I've never been involved in publishing a workspace project like this.

therealprof commented 3 years ago

bors ping

therealprof commented 3 years ago

@robyoung Okay, there're a couple of pitfalls publishing this.

  1. microbit-common needs to be published first
  2. ~microbit-common, microbit, microbit-v2 and the examples cannot be compiled (and thus not published with verifcation) using either v1 or v2 features on my Mac~:
    
    LLVM ERROR: Global variable 'Reset' has an invalid section specifier '.Reset': mach-o section specifier requires a segment and section separated by a comma.
    error: could not compile `cortex-m-rt`

To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish... LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment whose length is between 1 and 16 characters. error: failed to verify package tarball


Never mind that, missing target. 🤦‍♂️
robyoung commented 3 years ago

Is it worth wrapping the steps up in another xtask so that it's easier in future? It already has code to ensure all the required targets are installed.