summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorchrysn <chrysn@fsfe.org>2018-08-24 15:05:13 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-08-28 12:47:44 +0200
commitb3fca4df2eda2f2bfe8861ab88b05a2573a7b502 (patch)
tree03feb5d01949a3cf616603019a530b0c0678da2c /src/codegen/helpers.rs
parent6084b394b3794b29b0751e90fe278f86bf133666 (diff)
Debug implementation: Don't use format! or String when core is enabled
As --use-core is typically given when the wrapped library is to be used in a no_std environment, format! and String can not be used. This is a quick fix that will cause regressions in the quality of the debug output to users that use core but are not no_std, but enables the use of bindgen with implemented Debug traits to no_std users. Closes: https://github.com/rust-lang-nursery/rust-bindgen/issues/1100
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions