File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -103,37 +103,8 @@ public bool ValidateOptions(List<string> messages)
103
103
if ( string . IsNullOrEmpty ( options . OutputNamespace ) )
104
104
options . OutputNamespace = moduleName ;
105
105
106
- if ( Platform . IsWindows && options . Platform != TargetPlatform . Windows )
107
- {
108
- messages . Add ( "Cannot create bindings for a platform other that Windows from a Windows host." ) ;
109
- return false ;
110
- }
111
- else if ( Platform . IsMacOS && options . Platform != TargetPlatform . MacOS )
112
- {
113
- messages . Add ( "Cannot create bindings for a platform other that macOS from a macOS host." ) ;
114
- return false ;
115
- }
116
- else if ( Platform . IsLinux && options . Platform != TargetPlatform . Linux )
117
- {
118
- messages . Add ( "Cannot create bindings for a platform other that Linux from a Linux host." ) ;
119
- return false ;
120
- }
121
-
122
- if ( options . Platform != TargetPlatform . Windows && options . Kind != GeneratorKind . CSharp )
123
- {
124
- messages . Add ( "Cannot create bindings for languages other than C# from a non-Windows host." ) ;
125
- return false ;
126
- }
127
-
128
- if ( options . Platform == TargetPlatform . Linux && options . Architecture != TargetArchitecture . x64 )
129
- {
130
- messages . Add ( "Cannot create bindings for architectures other than x64 for Linux targets." ) ;
131
- return false ;
132
- }
133
-
134
106
SetupTargetTriple ( ) ;
135
107
136
-
137
108
return true ;
138
109
}
139
110
You can’t perform that action at this time.
0 commit comments