Skip to content

Commit a4d6b46

Browse files
thomasywangmeta-codesync[bot]
authored andcommitted
Allow disallowed time methods
Summary: We disallow methods relating to time to ensure that we use `hyperactor::clock`, but need to make an exception for this for telemetry because we would create a circular dependency if we tried to use `hyperactor::clock` Differential Revision: D87664116
1 parent 44210e0 commit a4d6b46

File tree

1 file changed

+1
-0
lines changed
  • hyperactor_telemetry/src

1 file changed

+1
-0
lines changed

hyperactor_telemetry/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
#![allow(internal_features)]
10+
#![allow(clippy::disallowed_methods)] // hyperactor_telemetry can't use hyperactor::clock::Clock (circular dependency)
1011
#![feature(assert_matches)]
1112
#![feature(sync_unsafe_cell)]
1213
#![feature(mpmc_channel)]

0 commit comments

Comments
 (0)