Commit 3683c43
authored
Rollup merge of rust-lang#103193 - krasimirgg:sysonce, r=Amanieu
mark sys_common::once::generic::Once::new const-stable
Attempt to address rust-lang#103191 by marking the impl const-stable.
Picked the declaration from the callsite:
https://github.com/rust-lang/rust/blob/21b246587c2687935bd6004ffa5dcc4f4dd6600d/library/std/src/sync/once.rs#L67
This is similar to rust-lang#98457.
With this in, `python3 x.py build library/std --target x86_64-unknown-none` succeeds.1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments