bors[bot] 531432b75b Merge #101
101: Fix boxed Error in build.rs for nightly r=japaric a=XOSplicer

on nightly (rustc 1.37.0-nightly (7840a0b75 2019-05-31)) the build is currently broken (see below).

Adding `dyn Error` as the error result in `build.rs` solves the problem.

```
$ cargo +nightly build      
   Compiling typenum v1.10.0
   Compiling stable_deref_trait v1.1.1
   Compiling byteorder v1.2.7
   Compiling heapless v0.5.0-alpha.2 (/home/felix/workspace/rust/heapless)
error: trait objects without an explicit `dyn` are deprecated
 --> build.rs:5:29
  |
5 | fn main() -> Result<(), Box<Error>> {
  |                             ^^^^^ help: use `dyn`: `dyn Error`
  |
note: lint level defined here
 --> build.rs:1:9
  |
1 | #![deny(warnings)]
  |         ^^^^^^^^
  = note: #[deny(bare_trait_objects)] implied by #[deny(warnings)]

error: aborting due to previous error

error: Could not compile `heapless`.
warning: build failed, waiting for other jobs to finish...
error: build failed
```

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-06-21 12:36:20 +00:00
2019-04-22 21:08:26 +02:00
2019-05-21 12:43:19 +02:00
2019-05-22 22:27:10 +02:00
2019-05-03 18:43:46 +02:00
2017-03-05 00:30:10 -05:00
2017-03-05 00:30:10 -05:00
2018-04-23 19:54:46 +02:00

crates.io crates.io

heapless

static friendly data structures that don't require dynamic memory allocation

Documentation

Change log

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
Heapless, static friendly data structures
Readme 18 MiB
Languages
Rust 100%