Transform the language version into a rust toolchain version.
(language_version: str)
| 41 | |
| 42 | |
| 43 | def _rust_toolchain(language_version: str) -> str: |
| 44 | """Transform the language version into a rust toolchain version.""" |
| 45 | if language_version == C.DEFAULT: |
| 46 | return 'stable' |
| 47 | else: |
| 48 | return language_version |
| 49 | |
| 50 | |
| 51 | def get_env_patch(target_dir: str, version: str) -> PatchesT: |
no outgoing calls
no test coverage detected