Skip to content

Commit 6e3851c

Browse files
fix build issues (#762)
Summary: Pull Request resolved: #762 fix build issues relating to race between D79100206 and D79555875 Reviewed By: pzhan9 Differential Revision: D79640661 fbshipit-source-id: 02cb74abc11523c556d3119a59bdbf2715b36400
1 parent 51ba374 commit 6e3851c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

hyperactor_mesh/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![feature(assert_matches)]
1212
#![feature(exit_status_error)]
1313
#![feature(impl_trait_in_bindings)]
14+
#![feature(let_chains)]
1415

1516
pub mod actor_mesh;
1617
pub mod alloc;

hyperactor_mesh/src/reference.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use ndslice::Range;
2323
use ndslice::Selection;
2424
use ndslice::Shape;
2525
use ndslice::ShapeError;
26-
use ndslice::selection::ReifyView;
26+
use ndslice::selection::ReifySlice;
2727
use serde::Deserialize;
2828
use serde::Serialize;
2929

@@ -166,7 +166,7 @@ impl<A: RemoteActor> ActorMeshRef<A> {
166166

167167
pub fn new_with_shape(&self, new_shape: Shape) -> anyhow::Result<Self> {
168168
let base_slice = self.shape().slice();
169-
base_slice.reify_view(new_shape.slice()).map_err(|e| {
169+
base_slice.reify_slice(new_shape.slice()).map_err(|e| {
170170
anyhow::anyhow!(
171171
"failed to reify the new shape into the base shape; this \
172172
normally means the new shape is not a valid slice of the base \

0 commit comments

Comments
 (0)