blob: f04a3aa94630984606280e078762ddaf2028cf6b [file] [log] [blame] [edit]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package build
// ClippyTarget represents a Rust clippy target. Building such a target runs
// clippy on the underlying Rust code.
type ClippyTarget struct {
// Output is the path to the clippy output file.
Output string `json:"clippy_output"`
// Sources is a list of paths to source files that compose this target,
// relative to the build directory.
Sources []string `json:"src"`
// DisableClippy when clippy is not built for a particular target.
DisableClippy bool `json:"disable_clippy"`
}