Skip to content

Conversation

@cknitt
Copy link
Member

@cknitt cknitt commented Jan 6, 2026

Follow-up to #8147.

Best practice seems to be:

  • stdout for normal program output
  • stderr for error and diagnostic output (including warnings)

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 6, 2026

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8148

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8148

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8148

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8148

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8148

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8148

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8148

commit: 450296e

@cknitt cknitt requested review from cristianoc and nojaf January 6, 2026 08:32
@cknitt cknitt merged commit 1792d23 into rescript-lang:master Jan 6, 2026
25 checks passed
@cknitt cknitt deleted the warn-stderr branch January 6, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants