-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Description
The 0.5.1 and 0.5.2 docs builds are failing with an error about not being able to build for thumbv7m-none-eabi. Example log here. 0.5.0 is fine.
I attempted a fix locally by adding default-target to Cargo.toml:
[package.metadata.docs.rs]
features = ["stm32f103", "rt", "stm32-usbd"]
+ default-target = "thumbv7m-none-eabi"then following the docs.rs instructions and running
docker-compose run -v "$(realpath ~/Repositories/stm32f1xx-hal)":/build web build crate --local /buildBut I get the same error as the log on docs.rs:
2019/12/17 18:30:06 [INFO] rustwide::cmd: running `"docker" "start" "-a" "0fc8e7382b5a4976d92d59f972cd57b6c50dfdcfaacccc41044654148e92838d"`
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling typenum v1.10.0
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling semver-parser v0.7.0
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling proc-macro2 v0.4.30
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling unicode-xid v0.1.0
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Checking stable_deref_trait v1.1.1
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling cortex-m v0.6.1
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Checking vcell v0.1.2
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling syn v0.15.34
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling rand_core v0.4.0
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling cortex-m v0.5.10
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Compiling cortex-m-rt v0.6.11
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] Checking r0 v0.2.2
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error[E0463]: can't find crate for `core`
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] |
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] = note: the `thumbv7m-none-eabi` target may not be installed
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr]
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error[E0463]: can't find crate for `core`
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] |
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] = note: the `thumbv7m-none-eabi` target may not be installed
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr]
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error: aborting due to previous error
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr]
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error: aborting due to previous error
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr]
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] For more information about this error, try `rustc --explain E0463`.
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] For more information about this error, try `rustc --explain E0463`.
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error[E0463]: can't find crate for `core`
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] |
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] = note: the `thumbv7m-none-eabi` target may not be installed
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr]
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error: aborting due to previous error
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr]
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error: could not compile `vcell`.
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] warning: build failed, waiting for other jobs to finish...
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] For more information about this error, try `rustc --explain E0463`.
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error: could not compile `r0`.
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] warning: build failed, waiting for other jobs to finish...
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] error: could not compile `stable_deref_trait`.
2019/12/17 18:30:06 [INFO] rustwide::cmd: [stderr] warning: build failed, waiting for other jobs to finish...
2019/12/17 18:30:07 [INFO] rustwide::cmd: [stderr] error: build failed
This might be more relevant to the docs.rs repo, but I thought I'd open it here in case it's a fixable problem on the stm32-rs side of things.
Metadata
Metadata
Assignees
Labels
No labels