fix(make): dependency handling:dirs with timestamp

That way, make will not regenerate unnecessarily
This commit is contained in:
Sebastian Thiel
2015-03-03 06:46:47 +01:00
parent d8edf1dcd4
commit bb04b60dc4
5 changed files with 17 additions and 13 deletions

View File

@@ -84,6 +84,8 @@ def to_rust_type(sn, pn, t, allow_optionals=True):
elif t.type == 'object':
rust_type = "%s<String, %s>" % (rust_type, nested_type(t))
is_pod = False
elif t.type == 'string' and 'Count' in pn:
rust_type = 'i64'
elif rust_type == USE_FORMAT:
rust_type = TYPE_MAP[t.format]
if is_pod and allow_optionals: