Whether this library can be used in the current environment. For example, libmalloc would override this and return False if the user requested no malloc.
(self)
| 412 | raise NotImplementedError('Cannot instantiate an abstract library') |
| 413 | |
| 414 | def can_use(self): |
| 415 | """Whether this library can be used in the current environment. |
| 416 | |
| 417 | For example, libmalloc would override this and return False |
| 418 | if the user requested no malloc. |
| 419 | """ |
| 420 | return True |
| 421 | |
| 422 | def can_build(self): |
| 423 | """Whether this library can be built in the current environment. |
nothing calls this directly
no outgoing calls
no test coverage detected