select: finish takes the widest-pin choice it reads
c53ea4164emade lower::select::finish read `widest_pin` (whether a plan made again past its driver's stage bound keeps the widest mode's pin), but only select() had it, as a parameter that was never passed on. The metal2vulkan library did not compile atc53ea4164eorf10af8e35a(E0425 at select.rs, and the parameter unused in select). select now hands it to finish. The checks quoted forc53ea4164enever compiled the library: rustdoc (the only step that passed in 25736) does not type-check function bodies, and 25748 atf10af8e35astopped at this E0425. Verified: the change is the one-argument pass-through; its compile and suite check is the pin-71 merged check at this tip (msi). No version bump: the translator's output is whatc53ea4164emeant (SEMANTICS 2091).
This commit is contained in:
1 parent
f10af8e35a
commit
f51f600047
1 file changed
+2
-1
@@ -1296,7 +1296,7 @@ fn select_entry(
|
||||
// The specialized notes' clauses are held until `finish` resolves them, and the facts until it
|
||||
// moves them into the plan.
|
||||
let noted = cx.noted;
|
||||
let result = selected.and_then(|sel| finish(cx, sel, &mut fact_bytes, m));
|
||||
let result = selected.and_then(|sel| finish(cx, sel, widest_pin, &mut fact_bytes, m));
|
||||
m.release(noted);
|
||||
m.release(fact_bytes.charged());
|
||||
m.release(bytes);
|
||||
@@ -1610,6 +1610,7 @@ fn select_body(
|
||||
fn finish(
|
||||
mut cx: SelectCx<'_>,
|
||||
mut sel: BodySelection,
|
||||
widest_pin: simd::WidestPin,
|
||||
fact_bytes: &mut Growth,
|
||||
m: &mut Meter,
|
||||
) -> Result<Plan, Error> {
|
||||
|
||||
Reference in new issue
Block a user