David Brown | 6d56cd8 | 2021-08-19 11:06:57 -0600 | [diff] [blame] | 1 | [workspace] |
| 2 | members = ["sim"] |
| 3 | exclude = ["ptest"] |
David Brown | d6a5a73 | 2024-06-12 14:44:46 -0600 | [diff] [blame] | 4 | resolver = "2" |
David Brown | 6d56cd8 | 2021-08-19 11:06:57 -0600 | [diff] [blame] | 5 | |
| 6 | # The simulator runs very slowly without optimization. A value of 1 |
| 7 | # compiles in about half the time, but runs about 5-6 times slower. 2 |
| 8 | # and 3 are hardly different in either compile time or performance. |
| 9 | # Use 2 in case that makes the code slightly more debuggable. |
| 10 | [profile.test] |
| 11 | opt-level = 2 |
| 12 | |
| 13 | [profile.dev] |
| 14 | opt-level = 2 |