Commit 704543e
Use runtime CARGO_CFG_TARGET_ARCH in build-script
option_env retrieves the CARGO_CFG_TARGET_ARCH at compile-time, which is
not correct for the usage here. Instead, we should retrieve the variable
using env::var at runtime in the build-script.1 parent 90d3c34 commit 704543e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
0 commit comments