diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-06-08 09:53:01 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-06-12 09:34:13 +0200 |
| commit | 6fd0d1ba149a7049f2acb78ed4a93570ce36e3e4 (patch) | |
| tree | 351c98a350df0fa2b894cd02152d912aeef2487f /tests/mir-opt/inline/inline_trait_method.rs | |
| parent | 9de3c29319a42bbfdf3c61f1bced9e2e79373452 (diff) | |
| download | rust-6fd0d1ba149a7049f2acb78ed4a93570ce36e3e4.tar.gz rust-6fd0d1ba149a7049f2acb78ed4a93570ce36e3e4.zip | |
make sure the standard library compiles properly with synthetic targets
It might happen that a synthetic target name does not match one of the hardcoded ones in std's build script, causing std to fail to build. This commit changes the std build script avoid including the restricted-std feature unconditionally when a synthetic target is being built.
Diffstat (limited to 'tests/mir-opt/inline/inline_trait_method.rs')
0 files changed, 0 insertions, 0 deletions
