-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Dub generated command line is too long #2630
Comments
By the way, this is pretty blocking for me. That happened when I put a bit more of dflags in my command. That means whenever I develop the next module for my game engine, I'm going to get that everywhere, so, I would be very glad if some work was done on that |
dub does put all the commands into a file and executes the compiler that way. What compiler are you trying to use this with? It should work with dmd and ldc. |
I'm using ldc |
can you run with |
|
@WebFreak001 Maybe there is some kind of loose ends when someone uses the enviornment DFLAGS? |
Bump: Is there someway I could debug that? As I said, I don't know if the generated command length is counted or not. Maybe there is a problem related to the expansion on DFLAGS |
can you share the repository where you are hitting this issue? |
1: Clone https://github.com/MrcSnm/HipremeEngine |
ok issue was long path names, fixed in DUB 1.32.0 already - already resolved by #2589 |
@kinke can you maybe make a patch release of LDC bumping the DUB version to 1.32.0 / 1.32.1? I'm surprised the bundled DUB version in LDC wasn't 1.32.0 already actually, since it was tagged on April 1st and the LDC release is 2 weeks old now. |
That was a patch release for LDC only. Dub, reggae etc. are bumped with each frontend version. So dub v1.32 will be used with LDC v1.33. |
System information
Bug Description
How to reproduce?
Have more than the 8191 characters in my command.
Expected Behavior
I don't know what to do at this case. Maybe dub could actually put all its commands inside a file and then send the configuration file?
Logs
The text was updated successfully, but these errors were encountered: