Tags: dpc-lint-py/pyre-check
Tags
add a unique identifier to the end of prefixes Summary: In the shared memory heap, the way keys are created in the hash table is by concatenating the prefix (a newly minted integer for each call to Prefix.make()) and the key. This is a problem if we have integer keys, because if you have an int key that starts with 1 and a prefix of 1, that can be confused with any key that starts with 11. Add "$", a non-integer terminator, to prevent this bug. Reviewed By: gregory-nisbet Differential Revision: D8741105 fbshipit-source-id: 32477f96cce2b1b76ccfe0cbd40f5d96cfa0edbc
Warn if no unittest or binary targets exist in provided targets Summary: Don't silently default to empty behavior when targets are passed in that only contain library targets. It looks like a bug, when we should be letting the user know the reason we are finding nothing to analyze. Reviewed By: sinancepel Differential Revision: D8737091 fbshipit-source-id: 9bf2bde2b79fe8351574a3d313e463fc213beb3d
Add support to build wheels for older versions of MacOS Summary: MacOS wheels used to support only OSX 10.13. This diff adds support to compile the toolchain and binary with the MACOSX_DEPLOYMENT_TARGET flag set to 10.11, thereby allowing binaries to run on older Macs. This refers to facebook#11, but it does not solve it yet. That issue will be closed once we release the new version of the package. Reviewed By: dkgi Differential Revision: D7986807 fbshipit-source-id: 63633f5107a11a879bdc2f92aa4187f673870172
Move tracking of number of workers into configuration Summary: The previous code was storing the number of workers into the arguments data structure, and adding this information at runtime. This would cause scary backtraces if the code raised an exception before the default configuration was applied. This diff moves the attribute into the configuration class, where it is easier to track its default and its lifecycle. This way, backtraces are not printed anymore. Reviewed By: shannonzhu Differential Revision: D7921335 fbshipit-source-id: ec1578ae0e42dac334def34f641ede4caea8077e