diff options
| author | Jesse Rudolph <jesse.rudolph@gmail.com> | 2020-07-07 14:19:34 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-17 22:35:36 -0400 |
| commit | e821a57683e5cc69655e8aa2c2fa38b834b31c26 (patch) | |
| tree | 597490d87885918ed8e44034a7777075ddc2cd19 /src/zig_clang_driver.cpp | |
| parent | b0684bf084dbb5fe9ad7fb75dacf24cbd0a17231 (diff) | |
| download | zig-e821a57683e5cc69655e8aa2c2fa38b834b31c26.tar.gz zig-e821a57683e5cc69655e8aa2c2fa38b834b31c26.zip | |
add Builder.dupePkg()
mimics the duplication of strings in `Builder` for `Pkg`. This
ensures the lifetime of the memory backing strings in a `Pkg`
struct and the `Pkg.dependencies` slice is not shorter than the
`Builder` that the data is associated with.
Diffstat (limited to 'src/zig_clang_driver.cpp')
0 files changed, 0 insertions, 0 deletions
