Skip to content

Commit

Permalink
trait_upcasting \o/
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Nov 8, 2023
1 parent 52aadfb commit b0ad61f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ static DEFAULT_RUSTFLAGS: &[&[&str]] = &[
"-Zinline-mir=yes",
"-Zinline-mir-threshold=20",
"-Zpolonius=next",
"-Zcrate-attr=feature(trait_upcasting)",
],
// basic stuff, edition 2018
&[
Expand Down Expand Up @@ -143,6 +144,7 @@ static DEFAULT_RUSTFLAGS: &[&[&str]] = &[
"-Zinline-mir=yes",
"-Zinline-mir-threshold=20",
"-Zpolonius=next",
"-Zcrate-attr=feature(trait_upcasting)",
],
// basic stuff, edition 2021
&[
Expand Down Expand Up @@ -197,6 +199,7 @@ static DEFAULT_RUSTFLAGS: &[&[&str]] = &[
"-Zinline-mir=yes",
"-Zinline-mir-threshold=20",
"-Zpolonius=next",
"-Zcrate-attr=feature(trait_upcasting)",
],
// edition 2024
&[
Expand All @@ -219,6 +222,7 @@ static DEFAULT_RUSTFLAGS: &[&[&str]] = &[
"-Zcrate-attr=feature(coroutine_clone)",
"-Zcrate-attr=feature(gen_blocks)",
"-Zthir-unsafeck=yes",
"-Zcrate-attr=feature(trait_upcasting)",
// "-Zmir-opt-level=3",
],
/* rustc codegen gcc
Expand Down

0 comments on commit b0ad61f

Please sign in to comment.