-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
rund: init at version 1.0.0 #59047
rund: init at version 1.0.0 #59047
Conversation
@tadeokondrak thanks for the help, still learning all this nix stuff. |
Ping |
Wow, I just realized that there have been 3,158 pull requests opened since this one....and it's only been 8 weeks! That's over 50 pull requests a day! |
yes, a lot going on in this repo. sadly sometimes PRs get stalled for this reason. |
Ok I've added myself as a maintainer in this PR: #70060 Will rebase this change once that gets in. |
Adding a D Programming Language Compiler Wrapper tool that runs and caches D programs. This is an alternative to the existing `rdmd` tool. It's a rewrite that leverages a new compiler feature that allows it to run the compiler once instead of having to run it twice like `rdmd` does. I decided to create a new tool rather than trying to support both older and new compilers in the same tool. It also introduces new features like "Source Compiler Directives" which allow D Language source files to contain compiler configuration such as import paths, environment variables, etc.
Rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested with nix-review, successfully ran a hello world D program though this
Motivation for this change
Adding a D Programming Language Compiler Wrapper tool that runs and caches D programs.
This is an alternative to the existing
rdmd
tool. It's a rewrite that leverages a new compiler feature that allows it to run the compiler once instead of having to run it twice likerdmd
does. This is a big change to how the cache logic works so I decided to fork the tool rather than trying to updaterdmd
to support both the old and new logic in the same tool.It also introduces new features like "Source Compiler Directives" which allow D Language source files to contain compiler configuration. It addresses the same problem described here:
http://chriswarbo.net/projects/nixos/nix_shell_shebangs.html
D programs can use this tool by adding the shebang line
#!/usr/bin/env rund
to the top of their main source file allowing them to be executed with./myprogram.d
.i.e.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)