Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
elif not os.path.exists(registry_path):
raise ValueError("non-existent registry: %s" % registry)
- rustflags = "-C debuginfo=2 --cap-lints warn".split()
+ rustflags = "-C debuginfo=2 -C strip=none --cap-lints warn".split()
rustflags.extend(["-C", "linker=%s-gcc" % host_gnu_type])
for f in ldflags:
rustflags.extend(["-C", "link-arg=%s" % f])
[build]
rustflags = {1}
+
+[profile.release]
+debug = true
""".format(registry_path, repr(rustflags)))
return 0