Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find slang in PATH if SLANG_PATH is not set #16

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

ekiwi
Copy link
Contributor

@ekiwi ekiwi commented Nov 7, 2024

This makes using this crate a bit easier. We still check SLANG_PATH first, but if the variable is not set, then we fall back to looking through the PATH to try and find the slang executable. Since this is using the which crate, this should presumable even work on Windows.

@sherbst-openai
Copy link
Contributor

@ekiwi looks good to me, thanks!

@sherbst-openai sherbst-openai merged commit 4715bcc into xlsynth:main Nov 14, 2024
1 check passed
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.

2 participants