Skip to content

Commit

Permalink
minor fix and bump rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmocatta committed Oct 7, 2019
1 parent 746672f commit 60c489d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
endpoint: alecmocatta
default:
rust_toolchain: nightly
rust_lint_toolchain: nightly-2019-09-13
rust_lint_toolchain: nightly-2019-10-04
rust_flags: ''
rust_features: 'no_alloc;no_alloc distribute_binaries'
rust_target_check: ''
Expand Down
14 changes: 8 additions & 6 deletions constellation-internal/src/msg.rs
Expand Up @@ -312,9 +312,10 @@ mod serde {
.ok_or_else(|| de::Error::invalid_length(5, &self))?
.into_vec();
let binary = seq
.next_element::<serde_bytes::ByteBuf>()?
.ok_or_else(|| de::Error::invalid_length(6, &self))?
.into_vec();
.next_element()?
.ok_or_else(|| de::Error::invalid_length(6, &self))?;
#[cfg(feature = "distribute_binaries")]
let binary = serde_bytes::ByteBuf::into_vec(binary);
Ok(FabricRequest {
block,
resources,
Expand Down Expand Up @@ -360,9 +361,10 @@ mod serde {
.ok_or_else(|| de::Error::invalid_length(3, &self))?
.into_vec();
let binary = seq
.next_element::<serde_bytes::ByteBuf>()?
.ok_or_else(|| de::Error::invalid_length(4, &self))?
.into_vec();
.next_element()?
.ok_or_else(|| de::Error::invalid_length(4, &self))?;
#[cfg(feature = "distribute_binaries")]
let binary = serde_bytes::ByteBuf::into_vec(binary);
Ok(BridgeRequest {
resources,
args,
Expand Down
1 change: 0 additions & 1 deletion src/bin/constellation/main.rs
Expand Up @@ -51,7 +51,6 @@
//! cargo deploy 10.0.0.1:8888
//! ```

#![feature(param_attrs)]
#![warn(
// missing_copy_implementations,
missing_debug_implementations,
Expand Down

0 comments on commit 60c489d

Please sign in to comment.