Skip to content

Commit 6c7d8d9

Browse files
diliopfacebook-github-bot
authored andcommitted
Update platform010 & platform010-aarch64 symlinks
Summary: Release notes: https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/ Relevant changes: * `feature(extract_if)` stabilized * `feature(ptr_sub_ptr)` stabilized * `feature(os_str_display)` stabilized * `feature(slice_take)` stabilized * `feature(hash_raw_entry)` removed * `sub_ptr` renamed to `offset_from_unsigned` ([#137483](rust-lang/rust#137483)) * `MaybeUninit::uninit_array()` uses replaced with inline const blocks ([#125082](rust-lang/rust#125082)) * Lint `#[must_use`] attributes applied to methods in trait impls ([#136923](rust-lang/rust#136923)) * `clippy` lints: `io_other_error`, `elidable_lifetime_names`, `mem_replace_option_with_some`, `manual_contains`, `owned_cow` Reviewed By: dtolnay Differential Revision: D75010345 fbshipit-source-id: ab6ee65fe82eb7fe90b5aa9bbeeedefed2befad1
1 parent 90f3440 commit 6c7d8d9

File tree

37 files changed

+58
-59
lines changed

37 files changed

+58
-59
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ rand_distr = "0.4"
252252
ref-cast = "1.0.0"
253253
regex = "1.5.4"
254254
relative-path = { version = "1.7.0", features = ["serde"] }
255-
rusqlite = { version = "0.32.1", features = ["bundled"] }
255+
rusqlite = { version = "0.33.0", features = ["bundled"] }
256256
rustc-hash = { version = "2.1" }
257257
rustls = "0.21.5"
258258
rustls-native-certs = { package = "rustls-native-certs", version = "0.6.2" }

HACKING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ cargo install --path=app/buck2
2222
Or, alternatively, install it directly from GitHub:
2323

2424
```sh
25-
rustup install nightly-2025-02-16
26-
cargo +nightly-2025-02-16 install --git https://github.com/facebook/buck2.git buck2
25+
rustup install nightly-2025-03-29
26+
cargo +nightly-2025-03-29 install --git https://github.com/facebook/buck2.git buck2
2727
```
2828

2929
### Side note: using [Nix] to compile the source

allocative/allocative/src/flamegraph.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ impl VisitorImpl for FlameGraphBuilder {
451451
self.current().current_data().unique = true;
452452
}
453453

454-
#[must_use]
455454
fn enter_shared_impl(
456455
&mut self,
457456
name: Key,

app/buck2_action_impl/src/actions/impls/run.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ pub(crate) struct RunAction {
305305
input_files_bytes: u64,
306306
}
307307

308+
#[allow(clippy::large_enum_variant)]
308309
enum ExecuteResult {
309310
LocalDepFileHit(ActionOutputs, ActionExecutionMetadata),
310311
ExecutedOrReHit {

app/buck2_build_api/src/build/build_report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ impl<'a> BuildReportCollector<'a> {
645645
self.strings
646646
.get(&out.last().unwrap().message_content)
647647
.unwrap()
648-
.to_string(),
648+
.to_owned(),
649649
);
650650
}
651651

app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl<V: ValueLifetimeless> TransitiveSetOperationsGen<V> {
146146
.iter()
147147
.filter_map(|(k, spec)| {
148148
if kind == spec.kind {
149-
Some(k.to_string())
149+
Some(k.to_owned())
150150
} else {
151151
None
152152
}

app/buck2_client_ctx/src/daemon/client/connect.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ async fn start_new_buckd_and_connect(
869869
Ok(client)
870870
}
871871

872+
#[allow(clippy::large_enum_variant)]
872873
enum ConnectBeforeRestart {
873874
Accepted(BootstrapBuckdClient),
874875
Rejected,

app/buck2_client_ctx/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#![feature(try_trait_v2)]
1616
#![feature(used_with_arg)]
1717
#![feature(round_char_boundary)]
18-
#![feature(extract_if)]
1918

2019
pub mod argfiles;
2120
pub mod client_cpu_tracker;

app/buck2_client_ctx/src/subscribers/superconsole.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pub const CUTOFFS: Cutoffs = Cutoffs {
8989
_notable: Duration::from_millis(200),
9090
};
9191

92+
#[allow(clippy::large_enum_variant)]
9293
pub enum StatefulSuperConsole {
9394
Running(StatefulSuperConsoleImpl),
9495
/// After receiving the command output, any stdout, or an event stream error, the superconsole

app/buck2_cmd_completion_client/src/complete.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl CompleteCommand {
108108
matches: BuckArgMatches<'_>,
109109
ctx: ClientCommandContext<'_>,
110110
) -> ExitResult {
111-
let exit_result = match self.partial_target.split(':').collect::<Vec<_>>()[..] {
111+
match self.partial_target.split(':').collect::<Vec<_>>()[..] {
112112
// Package completion is performed locally and called here directly
113113
[given_partial_package] => {
114114
let roots = &ctx.paths()?.roots;
@@ -130,8 +130,7 @@ impl CompleteCommand {
130130
"Malformed target string (expected [[cell]//][path/to/package][:target_name])",
131131
)
132132
.into(),
133-
};
134-
exit_result
133+
}
135134
}
136135
}
137136

0 commit comments

Comments
 (0)