randomPoison / cs-bindgen

Experiment in using Rust to build a library that can be loaded by Unity across multiple platforms
4 stars 0 forks source link

Set C# language version to 7.3 for integration tests #52

Closed randomPoison closed 4 years ago

randomPoison commented 4 years ago

In order to support Unity, we need to stick to C# 7.3 and lower. I've setup the integration test project to target C# 7.3 in order to catch cases where the generated code might rely on functionality introduced in C# 8.0 or later. This change caught one case where we were relying on name shadowing in nested functions, which was added in C# 8.0.