@@ -257,33 +257,33 @@ Checks and tests are run by [GitHub Actions]. See
257257 - ` cargo +nightly miri test `
258258- demonstration of the problem and the fix:
259259 - standard optimization for ` dev ` and ` release ` builds: most do not get de-duplicated:
260- - [ ` demo_bug/non_lto/ non_dedup.sh ` ] [ ` liter_str ` ] ` dev `
261- - [ ` demo_bug/non_lto/ non_dedup.sh ` ] [ ` liter_str ` ] ` release `
262- - [ ` demo_bug/non_lto/ non_dedup.sh ` ] [ ` const_str ` ] ` dev `
263- - [ ` demo_bug/non_lto/ non_dedup.sh ` ] [ ` const_str ` ] ` release `
264- - [ ` demo_bug/non_lto/ non_dedup.sh ` ] [ ` const_opt ` ] ` dev `
265- - [ ` demo_bug/non_lto/ non_dedup.sh ` ] [ ` const_opt ` ] ` release `
260+ - [ ` demo_bug/non_lto ` ] / [ ` non_dedup.sh ` ] [ ` liter_str ` ] ` dev `
261+ - [ ` demo_bug/non_lto ` ] / [ ` non_dedup.sh ` ] [ ` liter_str ` ] ` release `
262+ - [ ` demo_bug/non_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_str ` ] ` dev `
263+ - [ ` demo_bug/non_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_str ` ] ` release `
264+ - [ ` demo_bug/non_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_opt ` ] ` dev `
265+ - [ ` demo_bug/non_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_opt ` ] ` release `
266266 - but, some types do get de-duplicated even in standard ` dev ` and ` release ` :
267- - [ ` demo_bug/non_lto/ dedup_out.sh ` ] [ ` const_u8s ` ] ` dev `
268- - [ ` demo_bug/non_lto/ dedup_out.sh ` ] [ ` const_u8s ` ] ` release `
267+ - [ ` demo_bug/non_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_u8s ` ] ` dev `
268+ - [ ` demo_bug/non_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_u8s ` ] ` release `
269269 - ` release ` with Fat LTO (and ` dev ` with Fat LTO and ` opt-level ` set to ` 2 ` ): deduplicated:
270- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` liter_str ` ] ` dev `
271- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` liter_str ` ] ` release `
272- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` const_str ` ] ` dev `
273- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` const_str ` ] ` release `
274- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` const_opt ` ] ` dev `
275- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` const_opt ` ] ` release `
276- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` const_u8s ` ] ` dev `
277- - [ ` demo_bug/fat_lto/ dedup_out.sh ` ] [ ` const_u8s ` ] ` release `
270+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` liter_str ` ] ` dev `
271+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` liter_str ` ] ` release `
272+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_str ` ] ` dev `
273+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_str ` ] ` release `
274+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_opt ` ] ` dev `
275+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_opt ` ] ` release `
276+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_u8s ` ] ` dev `
277+ - [ ` demo_bug/fat_lto ` ] / [ ` dedup_out.sh ` ] [ ` const_u8s ` ] ` release `
278278 - fix:
279- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` liter_str ` ] ` dev `
280- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` liter_str ` ] ` release `
281- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` const_str ` ] ` dev `
282- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` const_str ` ] ` release `
283- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` const_opt ` ] ` dev `
284- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` const_opt ` ] ` release `
285- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` const_u8s ` ] ` dev `
286- - [ ` demo_fix/fat_lto/ non_dedup.sh ` ] [ ` const_u8s ` ] ` release `
279+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` liter_str ` ] ` dev `
280+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` liter_str ` ] ` release `
281+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_str ` ] ` dev `
282+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_str ` ] ` release `
283+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_opt ` ] ` dev `
284+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_opt ` ] ` release `
285+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_u8s ` ] ` dev `
286+ - [ ` demo_fix/fat_lto ` ] / [ ` non_dedup.sh ` ] [ ` const_u8s ` ] ` release `
287287- validate the versioning schema:
288288 - [ ` pre-commit ` ]
289289
@@ -334,10 +334,11 @@ The following side fruit is `std`-only, but related: `std::sync::mutex::data_ptr
334334 https://doc.rust-lang.org/nightly/core/cell/struct.Cell.html#method.as_array_of_cells
335335[ `core::ops::Deref` ] : https://doc.rust-lang.org/nightly/core/ops/trait.Deref.html
336336[ `core::convert::From` ] : https://doc.rust-lang.org/nightly/core/convert/trait.From.html
337- [ `demo_bug/non_lto/non_dedup.sh` ] : demo_bug/non_lto/non_dedup.sh
338- [ `demo_bug/non_lto/dedup_out.sh` ] : demo_bug/non_lto/dedup_out.sh
339- [ `demo_bug/fat_lto/dedup_out.sh` ] : demo_bug/fat_lto/dedup_out.sh
340- [ `demo_fix/fat_lto/non_dedup.sh` ] : demo_fix/fat_lto/non_dedup.sh
337+ [ `demo_bug/non_lto` ] : demo_bug/non_lto/
338+ [ `demo_bug/fat_lto` ] : demo_bug/fat_lto/
339+ [ `demo_fix/fat_lto` ] : demo_fix/fat_lto/
340+ [ `non_dedup.sh` ] : demo_shared_scripts//non_dedup.sh
341+ [ `dedup_out.sh` ] : demo_shared_scripts//dedup_out.sh
341342[ `liter_str` ] : demo_shared_src/liter_str.rs
342343[ `const_str` ] : demo_shared_src/const_str.rs
343344[ `const_opt` ] : demo_shared_src/const_opt.rs
0 commit comments