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

Don't automatically add extension to file names #704

Open
apteryxxyz opened this issue Feb 11, 2025 · 1 comment
Open

Don't automatically add extension to file names #704

apteryxxyz opened this issue Feb 11, 2025 · 1 comment

Comments

@apteryxxyz
Copy link
Contributor

There are a handful of runtimes that automatically always add file extensions to file names. For example, C++.
This is annoying as - for example - C++ header files test.h will be appended with .cpp, which is undesirable.
I request adding an option to specific you don't want extensions automatically added (rather than changing the existing default as to not break any existing code).

@Crian69
Copy link

Crian69 commented Feb 25, 2025

Hey, i too am not sure why the files are being renamed but if you are self hosting then updating the compile script which is responsible for adding the extension to the files should help you

So you can prevent renaming in case of cpp my commenting this line
https://github.com/engineer-man/piston/blob/master/packages/gcc/10.2.0/compile#L12

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

No branches or pull requests

2 participants