summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-01-17 11:43:20 -0800
committerGitHub <noreply@github.com>2019-01-17 11:43:20 -0800
commit668078ac8be89e55c8e13ac429c4b0e63fb604dc (patch)
tree7ae1357d8ff79db0ba3f65ddc7e276282cf76a0d
parent0db6e249293b85338acb77f8858c823422949c3f (diff)
Fix diagnostic output for command-line slangc (#783)
Somehow the work to support output redirection when running things in `slang-test` ended up interfering with the API-specified diagnostic callback in the `slangc` code. This change doesn't include fixes to the testing infrastructure to prevent a regression like this happening again.
-rw-r--r--source/slangc/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp
index ae15b7d49..2da335628 100644
--- a/source/slangc/main.cpp
+++ b/source/slangc/main.cpp
@@ -39,9 +39,6 @@ SLANG_TEST_TOOL_API SlangResult innerMain(StdWriters* stdWriters, SlangSession*
spSetCommandLineCompilerMode(compileRequest);
- // Do any app specific configuration
- stdWriters->setRequestWriters(compileRequest);
-
char const* appName = "slangc";
if (argc > 0) appName = argv[0];