Skip to content

Commit

Permalink
bugfix: increase the type length limit
Browse files Browse the repository at this point in the history
Fixes a build failure on rust >= 1.35.0.

See also rust-lang/rust#58952
Fixes #59
  • Loading branch information
fabianfreyer committed May 26, 2019
1 parent 9894e43 commit 6ed36aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* Added debug logging using the `log` crate.

### Bugfixes
* Increased `type_length_limit` to 17825821 to fix a build failure on
Rust 1.35.0 (See #59, #60, https:/rust-lang/rust/issues/58952).
* `RunningJails::params()` now correctly fails when an error occurs while
reading parameters.

Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
//! it aims to provide the features exposed by the FreeBSD Jail Library
//! [jail(3)](https://www.freebsd.org/cgi/man.cgi?query=jail&sektion=3&manpath=FreeBSD+11.1-stable)

#![type_length_limit="17825821"]

extern crate byteorder;

#[macro_use]
Expand Down

0 comments on commit 6ed36aa

Please sign in to comment.