You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fact, target.static-runtime is still a dynamic runtime
[project]
name = "msvc-runtime"description = "Static MSVC runtime"msvc-runtime = "static"# This target will compile with a static runtime
[target.static-runtime]
type = "executable"sources = ["src/main.cpp"]
# This target overrides the [project].msvc-runtime
[target.dynamic-runtime]
type = "executable"sources = ["src/main.cpp"]
msvc-runtime = "dynamic"
The following is ok
[project]
name = "msvc-runtime"description = "Static MSVC runtime"msvc-runtime = "static"# This target will compile with a static runtime
[target.static-runtime]
type = "executable"sources = ["src/main.cpp"]
msvc-runtime = "static"# This target overrides the [project].msvc-runtime
[target.dynamic-runtime]
type = "executable"sources = ["src/main.cpp"]
msvc-runtime = "dynamic"
But it's clear that it doesn't match the original meaning of the code
The text was updated successfully, but these errors were encountered:
In fact,
target.static-runtime
is still a dynamic runtimeThe following is ok
But it's clear that it doesn't match the original meaning of the code
The text was updated successfully, but these errors were encountered: