Skip to content

Commit bfaf34f

Browse files
committed
Unconditionally support i128 on all versions
See slog-rs/slog#48e4651
1 parent 9e70283 commit bfaf34f

File tree

3 files changed

+1
-55
lines changed

3 files changed

+1
-55
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
## [Unreleased]
88

99
* Bump MSRV to 1.61 (first time officially defined)
10+
* Unconditionally support 128-bit integers.
1011
* Setup Github Actions.
1112
* Fixup some minor typos in CHANGELOG.md, including an incorrect release date for 2.8.0.
1213

build.rs

Lines changed: 0 additions & 53 deletions
This file was deleted.

lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,10 @@ impl Serializer for ToSendSerializer {
147147
take(&mut self.kv, |kv| Box::new((kv, SingleKV(key, val))));
148148
Ok(())
149149
}
150-
#[cfg(integer128)]
151150
fn emit_u128(&mut self, key: Key, val: u128) -> slog::Result {
152151
take(&mut self.kv, |kv| Box::new((kv, SingleKV(key, val))));
153152
Ok(())
154153
}
155-
#[cfg(integer128)]
156154
fn emit_i128(&mut self, key: Key, val: i128) -> slog::Result {
157155
take(&mut self.kv, |kv| Box::new((kv, SingleKV(key, val))));
158156
Ok(())

0 commit comments

Comments
 (0)