From 6ed36aa04f2fb3998fbb5951a81e42e391338099 Mon Sep 17 00:00:00 2001 From: Fabian Freyer Date: Sun, 26 May 2019 18:32:09 +0200 Subject: [PATCH] bugfix: increase the type length limit Fixes a build failure on rust >= 1.35.0. See also https://github.com/rust-lang/rust/issues/58952 Fixes #59 --- CHANGELOG.md | 2 ++ src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96c5d17d1..fb68c3da2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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://github.com/rust-lang/rust/issues/58952). * `RunningJails::params()` now correctly fails when an error occurs while reading parameters. diff --git a/src/lib.rs b/src/lib.rs index 89cb7c8bf..3bbc89474 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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]