Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit bb25e26

Browse files
authored
Merge branch 'main' into windows-rs
2 parents ab679e7 + 8980988 commit bb25e26

File tree

27 files changed

+43
-37
lines changed

27 files changed

+43
-37
lines changed

src/agent/.rustfmt.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
edition = "2018"
2-
newline_style = "Native"
1+
edition = "2021"
2+
newline_style = "Native"

src/agent/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ members = [
1919
"stacktrace-parser",
2020
]
2121

22+
resolver = "2"
23+
2224
[profile.release]
2325
lto = "thin"
2426
# Per https://fasterthanli.me/articles/why-is-my-rust-build-so-slow:

src/agent/atexit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "atexit"
33
version = "0.1.0"
44
license = "MIT"
55
authors = ["fuzzing@microsoft.com"]
6-
edition = "2018"
6+
edition = "2021"
77

88
[dependencies]
99
ctrlc = "3.4.0"

src/agent/debugger/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "debugger"
33
version = "0.1.0"
44
authors = ["fuzzing@microsoft.com"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT"
77

88
[dependencies]
@@ -18,3 +18,4 @@ win-util = { path = "../win-util" }
1818

1919
[dependencies.windows]
2020
version = "0.48"
21+

src/agent/input-tester/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "input-tester"
33
version = "0.1.0"
44
authors = ["fuzzing@microsoft.com"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT"
77

88
[dependencies]

src/agent/libclusterfuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "libclusterfuzz"
33
version = "0.0.1"
44
authors = ["fuzzing@microsoft.com>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77
description = "Minimal porting of features from libclusterfuzz"
88

src/agent/onefuzz-agent/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "onefuzz-agent"
33
version = "0.1.0"
44
authors = ["fuzzing@microsoft.com"]
5-
edition = "2018"
5+
edition = "2021"
66
publish = false
77
license = "MIT"
88

src/agent/onefuzz-agent/src/heartbeat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
use crate::onefuzz::heartbeat::HeartbeatClient;
54
use anyhow::Result;
5+
use onefuzz::heartbeat::HeartbeatClient;
66
use reqwest::Url;
77
use serde::{self, Deserialize, Serialize};
88
use uuid::Uuid;

src/agent/onefuzz-agent/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ extern crate downcast_rs;
99
extern crate anyhow;
1010
#[macro_use]
1111
extern crate onefuzz_telemetry;
12-
extern crate onefuzz;
1312

1413
use crate::{
1514
config::StaticConfig, coordinator::StateUpdateEvent, heartbeat::init_agent_heartbeat,

src/agent/onefuzz-agent/src/panic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::failure::save_failure;
22
use backtrace::Backtrace;
33
use std::{panic, sync::Once};
44

5-
fn panic_hook(info: &panic::PanicInfo) {
5+
fn panic_hook(info: &panic::PanicInfo<'_>) {
66
let err = anyhow!("supervisor panicked: {}\n{:?}", info, Backtrace::new());
77
if let Err(err) = save_failure(&err, uuid::Uuid::nil()) {
88
error!("unable to write panic log: {:?}", err);

0 commit comments

Comments
 (0)