extend pragma(msg) with writing to file
kdevel
kdevel at vogtner.de
Sat Oct 8 10:48:49 UTC 2022
On Friday, 7 October 2022 at 16:22:22 UTC, Andrey Zherikov wrote:
[...]
> We already have read compile-time access to a system by
> [`import("foo.txt")`](https://dlang.org/spec/expression.html#import_expressions).
Quote: "Note that by default an import expression will not
compile unless one or more paths are passed via the -J switch.
This tells the compiler where it should look for the files to
import. This is a security feature."
> How does write access change the risk in principle?
Nice try.
More information about the Digitalmars-d
mailing list