mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
Update to Rust 1.21
Summary: This diff does a few things: - Change the rust versions in `third-party{2,-buck}/config.py` to 1.21. - Update the tp2 symlinks for `rust` and `rust-crates-io` - Fix build breakages due to new errors/warnings from rustc. Reviewed By: jsgf, Imxset21 Differential Revision: D6319954 fbshipit-source-id: cd4fe9e0d6f26c1a6c9c3f1256d84cb002bb83d6
This commit is contained in:
parent
5519eae489
commit
fd2c414961
@ -14,7 +14,6 @@ extern crate storage_types;
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::collections::hash_map::Entry;
|
||||
use std::error;
|
||||
use std::sync::Mutex;
|
||||
use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
|
||||
|
||||
|
@ -334,8 +334,8 @@ where
|
||||
|
||||
// Set up client authentication
|
||||
{
|
||||
let mut sslacceptorbuilder = tlsacceptor_builder.builder_mut();
|
||||
let mut sslcontextbuilder = sslacceptorbuilder.builder_mut();
|
||||
let sslacceptorbuilder = tlsacceptor_builder.builder_mut();
|
||||
let sslcontextbuilder = sslacceptorbuilder.builder_mut();
|
||||
|
||||
sslcontextbuilder
|
||||
.set_ca_file(ca_pem_file)
|
||||
|
@ -119,7 +119,7 @@ where
|
||||
// more input it needs to make progress.)
|
||||
// TODO: (jsgf) T23239742 Either fix decode to return amount needed or
|
||||
// completely rewrite as a streaming command parser.
|
||||
let mut buf = &mut self.buf;
|
||||
let buf = &mut self.buf;
|
||||
let n = {
|
||||
let b = &mut buf.bytes_mut()[..1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user